ParcelServiceRepositoryInterface

Extends

Interface ParcelServiceRepositoryInterface

package

Default

Methods

Deletes a given parcel service.

delete(\ParcelServiceInterface $parcelService) 

Arguments

$parcelService

\ParcelServiceInterface

Returns a limited collection of parcel services.

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

Arguments

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

\ParcelServiceCollection

Returns a limited collection of parcel services found by the given search condition.

findBy(\ParcelServiceSearchCondition $searchCondition, \Pager|null $pager = null, array $sorters = array()) : \ParcelServiceCollection

Arguments

$pager

\Pager|null

(Optional) Pager object with pagination information

$sorters

array

(Optional) array of Sorter objects with data sorting information

Response

\ParcelServiceCollection

Returns a parcel services found by its ID.

findById(\ParcelServiceId $parcelServiceId) : \ParcelServiceInterface|null

Arguments

$parcelServiceId

\ParcelServiceId

Response

\ParcelServiceInterface|null

Saves a given parcel service.

save(\ParcelServiceInterface $parcelService) : \ParcelServiceInterface

Arguments

$parcelService

\ParcelServiceInterface

Response

\ParcelServiceInterface

Updates a given parcel service.

update(\ParcelServiceInterface $parcelService) : \ParcelServiceInterface

Arguments

$parcelService

\ParcelServiceInterface

Response

\ParcelServiceInterface