ParcelServiceReaderInterface

Extends

Interface ParcelServiceReaderInterface

package

Default

Methods

Returns all parcel services limited by given limit and offset.

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

Arguments

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

array

Returns the parcel service search result limited by given limit and offset as an array.

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

Arguments

$searchCondition

\StringType

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

array

Returns a parcel service as an array identified by its ID.

fetchById(\ParcelServiceId $parcelServiceId) : array

Arguments

$parcelServiceId

\ParcelServiceId

Response

array