ParcelServiceRepository

Implements \ParcelServiceRepositoryInterface

Class ParcelServiceRepository

package

Default

Methods

ParcelServiceRepository constructor.

__construct(\ParcelServiceMapperInterface $mapper) 

Arguments

Deletes a given parcel service.

delete(\ParcelServiceInterface $parcelService) 

Arguments

$parcelService

\ParcelServiceInterface

Returns a limited collection of parcel services.

findAll(\Pager $pager) : \ParcelServiceCollection

Arguments

$pager

\Pager

Response

\ParcelServiceCollection

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

findBy(\Pager $pager, \ParcelServiceSearchCondition $searchCondition) : \ParcelServiceCollection

Arguments

$pager

\Pager

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

Properties

mapper

mapper : \ParcelServiceMapperInterface