CurrentStatusResponseShipment

class Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment
Class CurrentStatusResponseShipment.
Parent

Firstred\PostNL\Entity\AbstractEntity

Properties

public property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$defaultProperties
Type

string[][]

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Addresses
Type

\Firstred\PostNL\Entity\StatusAddress[] | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Amounts
Type

\Firstred\PostNL\Entity\Amount[] | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Barcode
Type

\Firstred\PostNL\Entity\Barcode | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$DeliveryDate
Type

string | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Dimension
Type

\Firstred\PostNL\Entity\Dimension | null Dimension

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Expectation
Type

\Firstred\PostNL\Entity\Expectation | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Groups
Type

\Firstred\PostNL\Entity\Group[] | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$MainBarcode
Type

string | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$ProductCode
Type

string | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$ProductDescription
Type

string | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$ProductOptions
Type

\Firstred\PostNL\Entity\ProductOption[] | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Reference
Type

string | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$ShipmentAmount
Type

string | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$ShipmentCounter
Type

string | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Status
Type

\Firstred\PostNL\Entity\Status | null

protected static property Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::$Warnings
Type

\Firstred\PostNL\Entity\Warning[] | null

Methods

public Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::__construct($Addresses=null, $Amounts=null, $Barcode=null, $DeliveryDate=null, $Dimension=null, $Expectation=null, $Groups=null, $ProductCode=null, $ProductOptions=null, $Reference=null, $Status=null, $Warnings=null, $MainBarcode=null, $ShipmentAmount=null, $ShipmentCounter=null, $ProductDescription=null)
CurrentStatusResponseShipment constructor.
Parameters
Throws

\Firstred\PostNL\Exception\InvalidArgumentException

public Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::setDeliveryDate($deliveryDate=null)
Parameters
  • $deliveryDate (string | \DateTimeInterface | null)

Returns

static

Throws

\Firstred\PostNL\Exception\InvalidArgumentException

Since

1.2.0

public static Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::jsonDeserialize($json)
Parameters
  • $json (stdClass)

Returns

mixed | \stdClass | null

Throws

\Firstred\PostNL\Exception\InvalidArgumentException

Throws

\Firstred\PostNL\Exception\NotSupportedException

Throws

\Firstred\PostNL\Exception\InvalidArgumentException

Throws

\Firstred\PostNL\Exception\NotSupportedException

Since

1.2.0

public Firstred\PostNL\Entity\Response\CurrentStatusResponseShipment::xmlSerialize($writer)
Return a serializable array for the XMLWriter.
Parameters
  • $writer (Sabre\Xml\Writer)

Returns

void