GetDeliveryDateResponse

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

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

public property Firstred\PostNL\Entity\Response\GetDeliveryDateResponse::$defaultProperties
Default properties and namespaces for the SOAP API.
Type

array

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

string | null

protected static property Firstred\PostNL\Entity\Response\GetDeliveryDateResponse::$Options
Type

string[] | null

Methods

public Firstred\PostNL\Entity\Response\GetDeliveryDateResponse::__construct($DeliveryDate=null, $Options=null)
GetDeliveryDateResponse constructor.
Parameters
  • $DeliveryDate (string | \DateTimeInterface | null)

  • $Options (string[] | null)

Throws

\Firstred\PostNL\Exception\InvalidArgumentException

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

Returns

static

Throws

\Firstred\PostNL\Exception\InvalidArgumentException

Since

1.2.0

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

Returns

void

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

Returns

\Firstred\PostNL\Entity\Response\GetDeliveryDateResponse | object | \stdClass | null

Throws

\Firstred\PostNL\Exception\InvalidArgumentException