Manager
Class Manager
Table of Contents
Methods
- getClassNames() : array<string|int, mixed>
- Returns list of known class names
- getInstance() : static
- getStatusByShipmentId() : StatusResult
- getStatusesList() : array<string|int, mixed>
- getStatusName() : string
- getTrackingObjectByDeliveryId() : Base|null
- getTrackingUrl() : string
- isClone() : bool
- startRefreshingStatuses() : mixed
- Starts statuses refreshing
- updateShipment() : UpdateResult
Methods
getClassNames()
Returns list of known class names
public
getClassNames() : array<string|int, mixed>
Return values
array<string|int, mixed>getInstance()
public
static getInstance() : static
Return values
staticgetStatusByShipmentId()
public
getStatusByShipmentId(int $shipmentId[, string $trackingNumber = '' ]) : StatusResult
Parameters
- $shipmentId : int
- $trackingNumber : string = ''
-
if changed
Tags
Return values
StatusResultgetStatusesList()
public
static getStatusesList() : array<string|int, mixed>
Return values
array<string|int, mixed>getStatusName()
public
static getStatusName(int $status) : string
Parameters
- $status : int
Return values
stringgetTrackingObjectByDeliveryId()
public
getTrackingObjectByDeliveryId(mixed $deliveryId) : Base|null
Parameters
- $deliveryId : mixed
Tags
Return values
Base|nullgetTrackingUrl()
public
getTrackingUrl(int $deliveryId[, string $trackingNumber = '' ]) : string
Parameters
- $deliveryId : int
-
Delivery service id.
- $trackingNumber : string = ''
-
Trcking number.
Tags
Return values
string —Url were we can see tracking information.
isClone()
public
isClone() : bool
Return values
boolstartRefreshingStatuses()
Starts statuses refreshing
public
static startRefreshingStatuses() : mixed
updateShipment()
public
updateShipment(int $shipmentId, StatusResult $params) : UpdateResult
Parameters
- $shipmentId : int
- $params : StatusResult