Skip to content

Commit

Permalink
Merge pull request #23 from Tr0nYx/master
Browse files Browse the repository at this point in the history
added missing pricespread in Bond Model
  • Loading branch information
Tr0nYx committed Oct 1, 2016
2 parents fc4b2f9 + 07a7781 commit a9e7a9c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Model/BondTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ trait BondTrait
*/
private $repurchaseListing;

/**
* @Annotation\Type("Alphatrader\ApiBundle\Model\PriceSpread")
* @Annotation\SerializedName("priceSpread")
*/
private $priceSpread;

/**
* @Annotation\Type("Alphatrader\ApiBundle\Model\Listing")
* @Annotation\SerializedName("listing")
Expand Down Expand Up @@ -209,6 +215,22 @@ public function setListing($listing)
$this->listing = $listing;
}

/**
* @return PriceSpread
*/
public function getPriceSpread()
{
return $this->priceSpread;
}

/**
* @param PriceSpread $priceSpread
*/
public function setPriceSpread($priceSpread)
{
$this->priceSpread = $priceSpread;
}

/**
* @SuppressWarnings("unused")
* @Annotation\PostDeserialize
Expand Down

0 comments on commit a9e7a9c

Please sign in to comment.