GetSentDate

class Firstred\PostNL\Entity\Request\GetSentDate
Class GetSentDate.
Parent:

Firstred\PostNL\Entity\AbstractEntity

Summary

Methods

Properties

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

array

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$AllowSundaySorting
Type:

bool | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$City
Type:

string | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$CountryCode
Type:

string | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$DeliveryDate
Type:

\DateTimeInterface | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$HouseNr
Type:

string | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$HouseNrExt
Type:

string | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$Options
Type:

string[] | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$PostalCode
Type:

string | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$ShippingDuration
Type:

string | null

protected static property Firstred\PostNL\Entity\Request\GetSentDate::$Street
Type:

string | null

Methods

public Firstred\PostNL\Entity\Request\GetSentDate::__construct($AllowSundaySorting=false, $City=null, $CountryCode=null, $HouseNr=null, $HouseNrExt=null, $Options=null, $PostalCode=null, $DeliveryDate=null, $Street=null, $ShippingDuration=null)
GetSentDate constructor.
Parameters:
  • $AllowSundaySorting (bool | null)

  • $City (string | null)

  • $CountryCode (string | null)

  • $HouseNr (string | null)

  • $HouseNrExt (string | null)

  • $Options (array | null)

  • $PostalCode (string | null)

  • $DeliveryDate (DateTimeInterface | string | null)

  • $Street (string | null)

  • $ShippingDuration (string | null)

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

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

Returns:

static

Throws:

\Firstred\PostNL\Exception\InvalidArgumentException

Since:

1.2.0

public Firstred\PostNL\Entity\Request\GetSentDate::setPostalCode($postcode=null)
Set the postcode.
Parameters:
  • $postcode (string | null)

Returns:

static

public Firstred\PostNL\Entity\Request\GetSentDate::setAllowSundaySorting($AllowSundaySorting=null)
Parameters:
  • $AllowSundaySorting (string | bool | int | null)

Returns:

\Firstred\PostNL\Entity\Request\GetSentDate

Since:

1.0.0

Since:

1.0.0

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

Returns:

void