phpDocumentor

ParcelServiceMapper
in package
implements ParcelServiceMapperInterface

Class ParcelServiceMapper

Interfaces, Classes and Traits

ParcelServiceMapperInterface
Interface ParcelServiceMapperInterface

Table of Contents

$dataAdapter  : ParcelServiceDataAdapterInterface
__construct()  : mixed
ParcelServiceDataMapper constructor.
delete()  : mixed
Deletes a given parcel service.
findAll()  : ParcelServiceCollection|null
Fetches all parcel services limited by the pager.
findBy()  : ParcelServiceCollection|null
Fetches all parcel services found by given limited search condition.
findById()  : ParcelServiceInterface|null
Fetches a parcel service found by given ID.
insert()  : ParcelServiceInterface
Inserts a given parcel service.
update()  : ParcelServiceInterface
Updates a given parcel service.
createParcelService()  : GXParcelService
Creates a GXParcelService object from given parcelServiceData.
createParcelServiceCollection()  : ParcelServiceCollection
Creates a ParcelServiceCollection from given parcelServicesData array.
createParcelServiceDataArray()  : array<string|int, mixed>
Creates a parcelServiceData array from given parcelService object.

Properties

Methods

findAll()

Fetches all parcel services limited by the pager.

public findAll([Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : ParcelServiceCollection|null
Parameters
$pager : Pager|null = null

(Optional) Pager object with pagination information

$sorters : array<string|int, mixed> = []

(Optional) array of Sorter objects with data sorting information

Return values
ParcelServiceCollection|null

findBy()

Fetches all parcel services found by given limited search condition.

public findBy(ParcelServiceSearchCondition $searchCondition[, Pager|null $pager = null ][, array<string|int, mixed> $sorters = [] ]) : ParcelServiceCollection|null
Parameters
$searchCondition : ParcelServiceSearchCondition
$pager : Pager|null = null

(Optional) Pager object with pagination information

$sorters : array<string|int, mixed> = []

(Optional) array of Sorter objects with data sorting information

Return values
ParcelServiceCollection|null

Search results