.. rst-class:: phpdoctorst .. role:: php(code) :language: php GetDeliveryDate =============== .. php:namespace:: Firstred\PostNL\Entity\Request .. php:class:: GetDeliveryDate :Parent: :php:class:`Firstred\\PostNL\\Entity\\AbstractEntity` :Implements: :php:interface:`Firstred\\PostNL\\Cache\\CacheableRequestEntityInterface` Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\_construct\($AllowSundaySorting, $City, $CountryCode, $CutOffTimes, $HouseNr, $HouseNrExt, $Options, $OriginCountryCode, $PostalCode, $ShippingDate, $ShippingDuration, $Street, $GetDeliveryDate, $Message\)` * :php:meth:`public getCity\(\)` * :php:meth:`public setCity\($City\)` * :php:meth:`public getCountryCode\(\)` * :php:meth:`public setCountryCode\($CountryCode\)` * :php:meth:`public getCutOffTimes\(\)` * :php:meth:`public setCutOffTimes\($CutOffTimes\)` * :php:meth:`public getHouseNr\(\)` * :php:meth:`public setHouseNr\($HouseNr\)` * :php:meth:`public getHouseNrExt\(\)` * :php:meth:`public setHouseNrExt\($HouseNrExt\)` * :php:meth:`public getOptions\(\)` * :php:meth:`public setOptions\($Options\)` * :php:meth:`public getOriginCountryCode\(\)` * :php:meth:`public setOriginCountryCode\($OriginCountryCode\)` * :php:meth:`public getShippingDuration\(\)` * :php:meth:`public setShippingDuration\($ShippingDuration\)` * :php:meth:`public getStreet\(\)` * :php:meth:`public setStreet\($Street\)` * :php:meth:`public getGetDeliveryDate\(\)` * :php:meth:`public setGetDeliveryDate\($GetDeliveryDate\)` * :php:meth:`public getMessage\(\)` * :php:meth:`public setMessage\($Message\)` * :php:meth:`public getShippingDate\(\)` * :php:meth:`public setShippingDate\($shippingDate\)` * :php:meth:`public getPostalCode\(\)` * :php:meth:`public setPostalCode\($PostalCode\)` * :php:meth:`public getAllowSundaySorting\(\)` * :php:meth:`public setAllowSundaySorting\($AllowSundaySorting\)` * :php:meth:`public getCacheKey\(\)` Properties ---------- .. php:attr:: protected static AllowSundaySorting :Type: bool | null .. php:attr:: protected static City :Type: string | null .. php:attr:: protected static CountryCode :Type: string | null .. php:attr:: protected static CutOffTimes :Type: :any:`\\Firstred\\PostNL\\Entity\\CutOffTime\[\] ` | null .. php:attr:: protected static HouseNr :Type: string | null .. php:attr:: protected static HouseNrExt :Type: string | null .. php:attr:: protected static Options :Type: string[] | null .. php:attr:: protected static OriginCountryCode :Type: string | null .. php:attr:: protected static PostalCode :Type: string | null .. php:attr:: protected static ShippingDate :Type: :any:`\\DateTimeInterface ` | null .. php:attr:: protected static ShippingDuration :Type: string | null .. php:attr:: protected static Street :Type: string | null .. php:attr:: protected static GetDeliveryDate :Type: self | null .. php:attr:: protected static Message :Type: :any:`\\Firstred\\PostNL\\Entity\\Message\\Message ` | null Methods ------- .. rst-class:: public .. php:method:: public __construct( $AllowSundaySorting=null, $City=null, $CountryCode=null, $CutOffTimes=null, $HouseNr=null, $HouseNrExt=null, $Options=null, $OriginCountryCode=null, $PostalCode=null, \\DateTimeInterface|string|null $ShippingDate=null, $ShippingDuration=null, $Street=null, $GetDeliveryDate=null, $Message=null) :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidArgumentException ` .. rst-class:: public .. php:method:: public getCity() :Returns: string | null .. rst-class:: public .. php:method:: public setCity( $City) :Parameters: * **$City** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getCountryCode() :Returns: string | null .. rst-class:: public .. php:method:: public setCountryCode( $CountryCode) :Parameters: * **$CountryCode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getCutOffTimes() :Returns: array | null .. rst-class:: public .. php:method:: public setCutOffTimes( $CutOffTimes) :Parameters: * **$CutOffTimes** (array | null) :Returns: static .. rst-class:: public .. php:method:: public getHouseNr() :Returns: string | null .. rst-class:: public .. php:method:: public setHouseNr( $HouseNr) :Parameters: * **$HouseNr** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getHouseNrExt() :Returns: string | null .. rst-class:: public .. php:method:: public setHouseNrExt( $HouseNrExt) :Parameters: * **$HouseNrExt** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getOptions() :Returns: array | null .. rst-class:: public .. php:method:: public setOptions( $Options) :Parameters: * **$Options** (string[] | null) :Returns: static .. rst-class:: public .. php:method:: public getOriginCountryCode() :Returns: string | null .. rst-class:: public .. php:method:: public setOriginCountryCode( $OriginCountryCode) :Parameters: * **$OriginCountryCode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getShippingDuration() :Returns: string | null .. rst-class:: public .. php:method:: public setShippingDuration( $ShippingDuration) :Parameters: * **$ShippingDuration** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getStreet() :Returns: string | null .. rst-class:: public .. php:method:: public setStreet( $Street) :Parameters: * **$Street** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getGetDeliveryDate() :Returns: static | null .. rst-class:: public .. php:method:: public setGetDeliveryDate( $GetDeliveryDate) :Parameters: * **$GetDeliveryDate** (:any:`Firstred\\PostNL\\Entity\\Request\\GetDeliveryDate ` | null) :Returns: static .. rst-class:: public .. php:method:: public getMessage() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Message\\Message ` | null .. rst-class:: public .. php:method:: public setMessage( $Message) :Parameters: * **$Message** (:any:`Firstred\\PostNL\\Entity\\Message\\Message ` | null) :Returns: static .. rst-class:: public .. php:method:: public getShippingDate() :Returns: :any:`\\DateTimeInterface ` | null .. rst-class:: public .. php:method:: public setShippingDate(\\DateTimeInterface|string|null $shippingDate=null) :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidArgumentException ` :Since: 1.2.0 .. rst-class:: public .. php:method:: public getPostalCode() :Returns: string | null .. rst-class:: public .. php:method:: public setPostalCode( $PostalCode=null) :Parameters: * **$PostalCode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getAllowSundaySorting() :Returns: bool | null .. rst-class:: public .. php:method:: public setAllowSundaySorting(bool|int|string|null $AllowSundaySorting=null) :Since: 1.0.0 :Since: 1.0.0 .. rst-class:: public .. php:method:: public getCacheKey() .. rst-class:: phpdoc-description | This method returns a unique cache key for every unique cacheable request as defined by PSR\-6\. :See: :any:`https://www\.php\-fig\.org/psr/psr\-6/\#definitions ` :Returns: string