TrackingEvent
in package
implements
JsonSerializable
Class TrackingEvent
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $carrierDateTime : IsoString
- The current date-time of the tracking event per the carrier records.
- $carrierDetailCode : string|null
- The carrier defined detail code.
- $carrierStatusCode : string|null
- The carrier defined status code.
- $dateTime : IsoString
- The current date-time of the tracking event.
- $description : string|null
- The carrier status description of the tracking event.
- $location : Location|null
- The location details of where the current tracking event occurred.
- $signer : string|null
- The signer or person who singed the package if there is record of one.
- $status : string
- The current status of the tracking event.
- __construct() : mixed
- TrackingEvent constructor.
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
Properties
$carrierDateTime
The current date-time of the tracking event per the carrier records.
public
IsoString
$carrierDateTime
$carrierDetailCode
The carrier defined detail code.
public
string|null
$carrierDetailCode
$carrierStatusCode
The carrier defined status code.
public
string|null
$carrierStatusCode
$dateTime
The current date-time of the tracking event.
public
IsoString
$dateTime
$description
The carrier status description of the tracking event.
public
string|null
$description
$location
The location details of where the current tracking event occurred.
public
Location|null
$location
$signer
The signer or person who singed the package if there is record of one.
public
string|null
$signer
$status
The current status of the tracking event.
public
string
$status
Methods
__construct()
TrackingEvent constructor.
public
__construct(array<string|int, mixed> $events) : mixed
Parameters
- $events : array<string|int, mixed>
Return values
mixed —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed