OrderParcelTrackingCode

Class OrderParcelTrackingCode

package

Default

Methods

TrackingCode constructor.

__construct(string $trackingCode) 

Private to enforce usage of named constructor.

Arguments

$trackingCode

string

Parcel tracking code of orders.

Named constructor of parcel tracking code.

create(string $trackingCode) : \OrderParcelTrackingCode
static

Arguments

$trackingCode

string

Parcel tracking code of orders.

Response

\OrderParcelTrackingCode

New instance.

Returns the order's parcel tracking code.

is() : string

Response

string

Parcel tracking code of orders.

Properties

code

code : string
var

Type(s)

string