| package |
Default |
|---|
__construct(\SpecialOfferRepositoryInterface $repository)
getAll(\Pager|null $pager = null, array $sorters = array()) : \SpecialOfferCollection
array(Optional) array of Sorter objects with data sorting information
\SpecialOfferCollectionList of special offers.
getBy(\SpecialOfferSearchCondition $searchCondition, \Pager|null $pager = null, array $sorters = array()) : \SpecialOfferCollection
array(Optional) array of Sorter objects with data sorting information
\SpecialOfferCollectionList of special offers by given conditions.
getById(\SpecialOfferIdInterface $specialOfferId) : \SpecialOfferInterface
| Throws |
|
|---|
\SpecialOfferInterfaceSpecial offer entity by given id.
repository : \SpecialOfferRepositoryInterface