Properties

$attributes

$attributes : array

Type

array

Methods

getAttributes()

getAttributes() : array

Return the attributes.

Returns

array —

getAttribute()

getAttribute(string  $name, string  $default = null) : mixed

Return the extra attribute.

Parameters

string $name
string $default

Returns

mixed —

setAttribute()

setAttribute(string  $name, mixed  $value) : $this

Set extra attributes.

Parameters

string $name
mixed $value

Returns

$this —

merge()

merge(array  $attributes) : $this

Map the given array onto the user's properties.

Parameters

array $attributes

Returns

$this —

offsetExists()

offsetExists(mixed  $offset) : mixed

{@inheritdoc}

Parameters

mixed $offset

Returns

mixed —

offsetGet()

offsetGet(mixed  $offset) : mixed

{@inheritdoc}

Parameters

mixed $offset

Returns

mixed —

offsetSet()

offsetSet(mixed  $offset, mixed  $value) : mixed

{@inheritdoc}

Parameters

mixed $offset
mixed $value

Returns

mixed —

offsetUnset()

offsetUnset(mixed  $offset) : mixed

{@inheritdoc}

Parameters

mixed $offset

Returns

mixed —

__get()

__get(mixed  $property) : mixed

{@inheritdoc}

Parameters

mixed $property

Returns

mixed —

toArray()

toArray() : array

Return array.

Returns

array —

toJSON()

toJSON() : string

Return JSON.

Returns

string —

__construct()

__construct(array  $attributes) : mixed

User constructor.

Parameters

array $attributes

Returns

mixed —

getCode()

getCode() : int

Get logistics query status code.

Returns

int —

getMsg()

getMsg() : string

Get the logistics query status description.

Returns

string —

getCompany()

getCompany() : string

Get the name of the logistics company.

Returns

string —

getNo()

getNo() : string

Get the logistics order number.

Returns

string —

getStatus()

getStatus() : string

Get logistics status.

Returns

string —

getDisplayStatus()

getDisplayStatus() : string

Get logistics display status.

Returns

string —

getAbstractStatus()

getAbstractStatus() : string

Get logistics abstract status.

Returns

string —

getCourier()

getCourier() : string

Get the courier name.

Returns

string —

getCourierPhone()

getCourierPhone() : string

Get the courier phone number.

Returns

string —

getList()

getList() : array

Get a list of logistics.

Returns

array —

getOriginal()

getOriginal() : array

Get the original attributes.

Returns

array —

jsonSerialize()

jsonSerialize() : mixed

{@inheritdoc}

Returns

mixed —

serialize()

serialize() : mixed

Returns

mixed —

unserialize()

unserialize(string  $serialized) : mixed

Constructs the object.

Parameters

string $serialized

The string representation of the object.

Returns

mixed —