phpDocumentor

ParcelServiceRepository

Interface ParcelServiceRepository

Table of Contents

createMultipleParcelServices()  : ParcelServiceIds
Creates multiple parcel services and returns their IDs.
createParcelService()  : ParcelServiceId
Creates a new parcel service and returns its ID.
deleteParcelServices()  : void
Deletes parcel services based on the given IDs.
filterParcelServices()  : ParcelServices
Returns a filtered and paginated collection of parcel services based on the given filter and sorting arguments.
getAllParcelServices()  : ParcelServices
Returns all available parcel services.
getParcelServiceById()  : ParcelService
Returns a specific parcel service based on the given ID.
getParcelServicesTotalCount()  : int
Returns total count of parcel services based on the given filter arguments.
storeParcelServices()  : void
Stores multiple parcel services.

Methods

createMultipleParcelServices()

Creates multiple parcel services and returns their IDs.

public createMultipleParcelServices(array<string|int, mixed> ...$creationArguments) : ParcelServiceIds
Parameters
$creationArguments : array<string|int, mixed>

Provided array must contain arguments like they are used in the single creation method. Provide multiple arrays for multi creation.

Tags
throws
CreationOfParcelServicesFailedException
Return values
ParcelServiceIds

getParcelServicesTotalCount()

Returns total count of parcel services based on the given filter arguments.

public getParcelServicesTotalCount(Filters $criteria) : int
Parameters
$criteria : Filters
Return values
int

Search results