Base
AbstractYes
Class Base
Table of Contents
Methods
- __construct() : mixed
- getClassDescription() : string
- Returns class description for administration interface
- getClassTitle() : string
- Returns class name for administration interface
- getEditHtml() : string
- getParamsStructure() : array<string|int, mixed>
- Returns params structure
- getStatus() : mixed
- getStatuses() : mixed
- getStatusesShipment() : Result
- getStatusShipment() : StatusResult
- getTrackingUrl() : string
Methods
__construct()
public
__construct(array<string|int, mixed> $params, Base $deliveryService) : mixed
Parameters
- $params : array<string|int, mixed>
- $deliveryService : Base
getClassDescription()
Returns class description for administration interface
public
abstract getClassDescription() : string
Return values
stringgetClassTitle()
Returns class name for administration interface
public
abstract getClassTitle() : string
Return values
stringgetEditHtml()
public
getEditHtml(string $paramKey, string $inputName) : string
Parameters
- $paramKey : string
- $inputName : string
Tags
Return values
string —Html
getParamsStructure()
Returns params structure
public
abstract getParamsStructure() : array<string|int, mixed>
Return values
array<string|int, mixed>getStatus()
public
getStatus(mixed $trackingNumber) : mixed
Parameters
- $trackingNumber : mixed
Tags
getStatuses()
public
getStatuses(array<string|int, string> $trackingNumbers) : mixed
Parameters
- $trackingNumbers : array<string|int, string>
Tags
getStatusesShipment()
public
getStatusesShipment(array<string|int, mixed> $shipmentsData) : Result
Parameters
- $shipmentsData : array<string|int, mixed>
Return values
ResultgetStatusShipment()
public
getStatusShipment(array<string|int, mixed> $shipmentData) : StatusResult
Parameters
- $shipmentData : array<string|int, mixed>
Return values
StatusResultgetTrackingUrl()
public
getTrackingUrl([string $trackingNumber = '' ]) : string
Parameters
- $trackingNumber : string = ''
Return values
string —Url were we can see tracking information