GetDeliveryDateResponse

class Firstred\PostNL\Entity\Response\GetDeliveryDateResponse
Parent:

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

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

\DateTimeInterface | null

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

string[] | null

Methods

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

\Firstred\PostNL\Exception\InvalidArgumentException

public Firstred\PostNL\Entity\Response\GetDeliveryDateResponse::getOptions()
Returns:

string[] | null

public Firstred\PostNL\Entity\Response\GetDeliveryDateResponse::setOptions($Options)
Parameters:
  • $Options (string[] | null)

Returns:

\Firstred\PostNL\Entity\Response\GetDeliveryDateResponse

public Firstred\PostNL\Entity\Response\GetDeliveryDateResponse::getDeliveryDate()
Returns:

\DateTimeInterface | null

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

\Firstred\PostNL\Exception\InvalidArgumentException

Since:

1.2.0

public static Firstred\PostNL\Entity\Response\GetDeliveryDateResponse::jsonDeserialize($json)
Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Throws:

\Firstred\PostNL\Exception\DeserializationException

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Throws:

\Firstred\PostNL\Exception\DeserializationException