Class SpecialOfferRepository
| package |
Default |
|---|
__construct(\SpecialOfferMapperInterface $mapper)
delete(\SpecialOfferInterface $specialOffer) : void
getAll(\Pager|null $pager = null, array $sorters = array()) : \SpecialOfferCollection
| Throws |
|
|---|
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
| Throws |
|
|---|
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.
save(\SpecialOfferInterface $specialOffer) : \SpecialOfferInterface