TrackingQuery
in package
implements
JsonSerializable
Class TrackingQuery - This Type is used as an argument in the `TrackPackageService` methods.
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $carrierCode : string|null
- $trackingNumber : string|null
- __construct() : mixed
- TrackingQuery constructor.
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
Properties
$carrierCode
public
string|null
$carrierCode
$trackingNumber
public
string|null
$trackingNumber
Methods
__construct()
TrackingQuery constructor.
public
__construct([string|null $carrierCode = null ][, string|null $trackingNumber = null ]) : mixed
Parameters
- $carrierCode : string|null = null
- $trackingNumber : string|null = null
Return values
mixed —jsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed