SpecialOfferReaderInterface

Extends

Interface SpecialOfferReaderInterface

package

Default

Methods

Returns all special offers.

fetchAll(\Pager|null $pager = null, array $sorters = array()) : array|null

Arguments

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

array|null

Raw data of special offers.

Fetches special offer data by the given condition.

fetchBy(\StringType $searchCondition, \Pager|null $pager = null, array $sorters = array()) : array|null

Arguments

$searchCondition

\StringType

Search condition for special offer data.

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

array|null

Raw data of special offers.

Fetches special offer data by the given id.

fetchById(\IdType $specialOfferId) : array|null

Arguments

$specialOfferId

\IdType

Id of expected special offer data.

Response

array|null

Raw data of a special offer.