.. rst-class:: phpdoctorst .. role:: php(code) :language: php Location ======== .. php:namespace:: Firstred\PostNL\Entity .. php:class:: Location :Parent: :php:class:`Firstred\\PostNL\\Entity\\AbstractEntity` Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\_construct\($Postalcode, $AllowSundaySorting, $DeliveryDate, $DeliveryOptions, $OpeningTime, $Options, $Coordinates, $CoordinatesNorthWest, $CoordinatesSouthEast, $City, $Street, $HouseNr, $HouseNrExt, $LocationCode, $Saleschannel, $TerminalType, $RetailNetworkID, $DownPartnerID, $DownPartnerLocation\)` * :php:meth:`public setDeliveryDate\($DeliveryDate\)` * :php:meth:`public setPostalcode\($Postalcode\)` * :php:meth:`public setAllowSundaySorting\($AllowSundaySorting\)` * :php:meth:`public getDeliveryOptions\(\)` * :php:meth:`public setDeliveryOptions\($DeliveryOptions\)` * :php:meth:`public getOpeningTime\(\)` * :php:meth:`public setOpeningTime\($OpeningTime\)` * :php:meth:`public getOptions\(\)` * :php:meth:`public setOptions\($Options\)` * :php:meth:`public getCity\(\)` * :php:meth:`public setCity\($City\)` * :php:meth:`public getHouseNr\(\)` * :php:meth:`public setHouseNr\($HouseNr\)` * :php:meth:`public getHouseNrExt\(\)` * :php:meth:`public setHouseNrExt\($HouseNrExt\)` * :php:meth:`public getStreet\(\)` * :php:meth:`public setStreet\($Street\)` * :php:meth:`public getCoordinates\(\)` * :php:meth:`public setCoordinates\($Coordinates\)` * :php:meth:`public getCoordinatesNorthWest\(\)` * :php:meth:`public setCoordinatesNorthWest\($CoordinatesNorthWest\)` * :php:meth:`public getCoordinatesSouthEast\(\)` * :php:meth:`public setCoordinatesSouthEast\($CoordinatesSouthEast\)` * :php:meth:`public getLocationCode\(\)` * :php:meth:`public setLocationCode\($LocationCode\)` * :php:meth:`public getSaleschannel\(\)` * :php:meth:`public setSaleschannel\($Saleschannel\)` * :php:meth:`public getTerminalType\(\)` * :php:meth:`public setTerminalType\($TerminalType\)` * :php:meth:`public getRetailNetworkID\(\)` * :php:meth:`public setRetailNetworkID\($RetailNetworkID\)` * :php:meth:`public getDownPartnerID\(\)` * :php:meth:`public setDownPartnerID\($DownPartnerID\)` * :php:meth:`public getDownPartnerLocation\(\)` * :php:meth:`public setDownPartnerLocation\($DownPartnerLocation\)` * :php:meth:`public getAllowSundaySorting\(\)` * :php:meth:`public getDeliveryDate\(\)` * :php:meth:`public getPostalcode\(\)` Properties ---------- .. php:attr:: protected static AllowSundaySorting :Type: string | null .. php:attr:: protected static DeliveryDate :Type: :any:`\\DateTimeInterface ` | null .. php:attr:: protected static DeliveryOptions :Type: string[] | null .. php:attr:: protected static OpeningTime :Type: string | null .. php:attr:: protected static Options :Type: string[] | null .. php:attr:: protected static City :Type: string | null .. php:attr:: protected static HouseNr :Type: string | null .. php:attr:: protected static HouseNrExt :Type: string | null .. php:attr:: protected static Postalcode :Type: string | null .. php:attr:: protected static Street :Type: string | null .. php:attr:: protected static Coordinates :Type: :any:`\\Firstred\\PostNL\\Entity\\Coordinates ` | null .. php:attr:: protected static CoordinatesNorthWest :Type: :any:`\\Firstred\\PostNL\\Entity\\CoordinatesNorthWest ` | null .. php:attr:: protected static CoordinatesSouthEast :Type: :any:`\\Firstred\\PostNL\\Entity\\CoordinatesSouthEast ` | null .. php:attr:: protected static LocationCode :Type: string | null .. php:attr:: protected static Saleschannel :Type: string | null .. php:attr:: protected static TerminalType :Type: string | null .. php:attr:: protected static RetailNetworkID :Type: string | null .. php:attr:: protected static DownPartnerID :Type: string | null .. php:attr:: protected static DownPartnerLocation :Type: string | null Methods ------- .. rst-class:: public .. php:method:: public __construct( $Postalcode=null, string|bool|int|null $AllowSundaySorting=null, string|\\DateTimeInterface|null $DeliveryDate=null, $DeliveryOptions=null, $OpeningTime=null, $Options=null, $Coordinates=null, $CoordinatesNorthWest=null, $CoordinatesSouthEast=null, $City=null, $Street=null, $HouseNr=null, $HouseNrExt=null, $LocationCode=null, $Saleschannel=null, $TerminalType=null, $RetailNetworkID=null, $DownPartnerID=null, $DownPartnerLocation=null) :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidArgumentException ` .. rst-class:: public .. php:method:: public setDeliveryDate(string|\\DateTimeInterface|null $DeliveryDate=null) :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidArgumentException ` :Since: 1.2.0 .. rst-class:: public .. php:method:: public setPostalcode( $Postalcode=null) :Parameters: * **$Postalcode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public setAllowSundaySorting(string|bool|int|null $AllowSundaySorting=null) :Since: 1.0.0 :Since: 1.0.0 .. rst-class:: public .. php:method:: public getDeliveryOptions() :Returns: string[] | null .. rst-class:: public .. php:method:: public setDeliveryOptions( $DeliveryOptions) :Parameters: * **$DeliveryOptions** (string[] | null) :Returns: static .. rst-class:: public .. php:method:: public getOpeningTime() :Returns: string | null .. rst-class:: public .. php:method:: public setOpeningTime( $OpeningTime) :Parameters: * **$OpeningTime** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getOptions() :Returns: string[] | null .. rst-class:: public .. php:method:: public setOptions( $Options) :Parameters: * **$Options** (string[] | null) :Returns: static .. 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 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 getStreet() :Returns: string | null .. rst-class:: public .. php:method:: public setStreet( $Street) :Parameters: * **$Street** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getCoordinates() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Coordinates ` | null .. rst-class:: public .. php:method:: public setCoordinates( $Coordinates) :Parameters: * **$Coordinates** (:any:`Firstred\\PostNL\\Entity\\Coordinates ` | null) :Returns: static .. rst-class:: public .. php:method:: public getCoordinatesNorthWest() :Returns: :any:`\\Firstred\\PostNL\\Entity\\CoordinatesNorthWest ` | null .. rst-class:: public .. php:method:: public setCoordinatesNorthWest( $CoordinatesNorthWest) :Parameters: * **$CoordinatesNorthWest** (:any:`Firstred\\PostNL\\Entity\\CoordinatesNorthWest ` | null) :Returns: static .. rst-class:: public .. php:method:: public getCoordinatesSouthEast() :Returns: :any:`\\Firstred\\PostNL\\Entity\\CoordinatesSouthEast ` | null .. rst-class:: public .. php:method:: public setCoordinatesSouthEast( $CoordinatesSouthEast) :Parameters: * **$CoordinatesSouthEast** (:any:`Firstred\\PostNL\\Entity\\CoordinatesSouthEast ` | null) :Returns: static .. rst-class:: public .. php:method:: public getLocationCode() :Returns: string | null .. rst-class:: public .. php:method:: public setLocationCode( $LocationCode) :Parameters: * **$LocationCode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getSaleschannel() :Returns: string | null .. rst-class:: public .. php:method:: public setSaleschannel( $Saleschannel) :Parameters: * **$Saleschannel** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getTerminalType() :Returns: string | null .. rst-class:: public .. php:method:: public setTerminalType( $TerminalType) :Parameters: * **$TerminalType** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getRetailNetworkID() :Returns: string | null .. rst-class:: public .. php:method:: public setRetailNetworkID( $RetailNetworkID) :Parameters: * **$RetailNetworkID** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getDownPartnerID() :Returns: string | null .. rst-class:: public .. php:method:: public setDownPartnerID( $DownPartnerID) :Parameters: * **$DownPartnerID** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getDownPartnerLocation() :Returns: string | null .. rst-class:: public .. php:method:: public setDownPartnerLocation( $DownPartnerLocation) :Parameters: * **$DownPartnerLocation** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getAllowSundaySorting() :Returns: string | null .. rst-class:: public .. php:method:: public getDeliveryDate() :Returns: :any:`\\DateTimeInterface ` | null .. rst-class:: public .. php:method:: public getPostalcode() :Returns: string | null