.. rst-class:: phpdoctorst .. role:: php(code) :language: php ResponseLocation ================ .. php:namespace:: Firstred\PostNL\Entity\Response .. php:class:: ResponseLocation :Parent: :php:class:`Firstred\\PostNL\\Entity\\AbstractEntity` Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\_construct\($Address, $DeliveryOptions, $Distance, $Latitude, $Longitude, $Name, $OpeningHours, $PartnerName, $PhoneNumber, $LocationCode, $RetailNetworkID, $Saleschannel, $TerminalType, $Warnings, $DownPartnerID, $DownPartnerLocation, $Sustainability\)` * :php:meth:`public getAddress\(\)` * :php:meth:`public setAddress\($Address\)` * :php:meth:`public getDeliveryOptions\(\)` * :php:meth:`public setDeliveryOptions\($DeliveryOptions\)` * :php:meth:`public getDistance\(\)` * :php:meth:`public setDistance\($Distance\)` * :php:meth:`public getLatitude\(\)` * :php:meth:`public setLatitude\($Latitude\)` * :php:meth:`public getLongitude\(\)` * :php:meth:`public setLongitude\($Longitude\)` * :php:meth:`public getName\(\)` * :php:meth:`public setName\($Name\)` * :php:meth:`public getOpeningHours\(\)` * :php:meth:`public setOpeningHours\($OpeningHours\)` * :php:meth:`public getPartnerName\(\)` * :php:meth:`public setPartnerName\($PartnerName\)` * :php:meth:`public getPhoneNumber\(\)` * :php:meth:`public setPhoneNumber\($PhoneNumber\)` * :php:meth:`public getLocationCode\(\)` * :php:meth:`public setLocationCode\($LocationCode\)` * :php:meth:`public getRetailNetworkID\(\)` * :php:meth:`public setRetailNetworkID\($RetailNetworkID\)` * :php:meth:`public getSaleschannel\(\)` * :php:meth:`public setSaleschannel\($Saleschannel\)` * :php:meth:`public getTerminalType\(\)` * :php:meth:`public setTerminalType\($TerminalType\)` * :php:meth:`public getWarnings\(\)` * :php:meth:`public setWarnings\($Warnings\)` * :php:meth:`public getDownPartnerID\(\)` * :php:meth:`public setDownPartnerID\($DownPartnerID\)` * :php:meth:`public getDownPartnerLocation\(\)` * :php:meth:`public setDownPartnerLocation\($DownPartnerLocation\)` * :php:meth:`public getSustainability\(\)` * :php:meth:`public setSustainability\($Sustainability\)` * :php:meth:`public static jsonDeserialize\($json\)` Properties ---------- .. php:attr:: protected static Address :Type: :any:`\\Firstred\\PostNL\\Entity\\Address ` | null .. php:attr:: protected static DeliveryOptions :Type: string[] | null .. php:attr:: protected static Distance :Type: string | null .. php:attr:: protected static Latitude :Type: string | null .. php:attr:: protected static Longitude :Type: string | null .. php:attr:: protected static Name :Type: string | null .. php:attr:: protected static OpeningHours :Type: :any:`\\Firstred\\PostNL\\Entity\\OpeningHours ` | null .. php:attr:: protected static PartnerName :Type: string | null .. php:attr:: protected static PhoneNumber :Type: string | null .. php:attr:: protected static LocationCode :Type: string | null .. php:attr:: protected static RetailNetworkID :Type: string | null .. php:attr:: protected static Saleschannel :Type: string | null .. php:attr:: protected static TerminalType :Type: string | null .. php:attr:: protected static Warnings :Type: :any:`\\Firstred\\PostNL\\Entity\\Warning\[\] ` | null .. php:attr:: protected static DownPartnerID :Type: string | null .. php:attr:: protected static DownPartnerLocation :Type: string | null .. php:attr:: protected static Sustainability :Type: :any:`\\Firstred\\PostNL\\Entity\\Sustainability ` | null Methods ------- .. rst-class:: public .. php:method:: public __construct( $Address=null, $DeliveryOptions=null, $Distance=null, $Latitude=null, $Longitude=null, $Name=null, $OpeningHours=null, $PartnerName=null, $PhoneNumber=null, $LocationCode=null, $RetailNetworkID=null, $Saleschannel=null, $TerminalType=null, $Warnings=null, $DownPartnerID=null, $DownPartnerLocation=null, $Sustainability=null) :Parameters: * **$Address** (:any:`Firstred\\PostNL\\Entity\\Address ` | null) * **$DeliveryOptions** (array | null) * **$Distance** (string | null) * **$Latitude** (string | null) * **$Longitude** (string | null) * **$Name** (string | null) * **$OpeningHours** (:any:`Firstred\\PostNL\\Entity\\OpeningHours ` | null) * **$PartnerName** (string | null) * **$PhoneNumber** (string | null) * **$LocationCode** (string | null) * **$RetailNetworkID** (string | null) * **$Saleschannel** (string | null) * **$TerminalType** (string | null) * **$Warnings** (array | null) * **$DownPartnerID** (string | null) * **$DownPartnerLocation** (string | null) * **$Sustainability** (:any:`Firstred\\PostNL\\Entity\\Sustainability ` | null) .. rst-class:: public .. php:method:: public getAddress() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Address ` | null .. rst-class:: public .. php:method:: public setAddress( $Address) :Parameters: * **$Address** (:any:`Firstred\\PostNL\\Entity\\Address ` | null) :Returns: static .. rst-class:: public .. php:method:: public getDeliveryOptions() :Returns: string[] | null .. rst-class:: public .. php:method:: public setDeliveryOptions( $DeliveryOptions) :Parameters: * **$DeliveryOptions** (array | null) :Returns: static .. rst-class:: public .. php:method:: public getDistance() :Returns: string | null .. rst-class:: public .. php:method:: public setDistance(int|float|string|null $Distance) :Parameters: * **$Distance** (int | float | string | null) :Returns: static .. rst-class:: public .. php:method:: public getLatitude() :Returns: string | null .. rst-class:: public .. php:method:: public setLatitude(float|string|null $Latitude) :Parameters: * **$Latitude** (float | string | null) :Returns: static .. rst-class:: public .. php:method:: public getLongitude() :Returns: string | null .. rst-class:: public .. php:method:: public setLongitude(float|string|null $Longitude) :Parameters: * **$Longitude** (float | string | null) :Returns: static .. rst-class:: public .. php:method:: public getName() :Returns: string | null .. rst-class:: public .. php:method:: public setName( $Name) :Parameters: * **$Name** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getOpeningHours() :Returns: :any:`\\Firstred\\PostNL\\Entity\\OpeningHours ` | null .. rst-class:: public .. php:method:: public setOpeningHours( $OpeningHours) :Parameters: * **$OpeningHours** (:any:`Firstred\\PostNL\\Entity\\OpeningHours ` | null) :Returns: static .. rst-class:: public .. php:method:: public getPartnerName() :Returns: string | null .. rst-class:: public .. php:method:: public setPartnerName( $PartnerName) :Parameters: * **$PartnerName** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getPhoneNumber() :Returns: string | null .. rst-class:: public .. php:method:: public setPhoneNumber( $PhoneNumber) :Parameters: * **$PhoneNumber** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getLocationCode() :Returns: string | null .. rst-class:: public .. php:method:: public setLocationCode(int|string|null $LocationCode) :Parameters: * **$LocationCode** (int | 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 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 getWarnings() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Warning\[\] ` | null .. rst-class:: public .. php:method:: public setWarnings( $Warnings) :Parameters: * **$Warnings** (:any:`Firstred\\PostNL\\Entity\\Warning\[\] ` | 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 getSustainability() :Returns: :any:`\\Firstred\\PostNL\\Entity\\Sustainability ` | null :Since: 1.4.2 .. rst-class:: public .. php:method:: public setSustainability( $Sustainability) :Parameters: * **$Sustainability** (:any:`Firstred\\PostNL\\Entity\\Sustainability ` | null) :Returns: static :Since: 1.4.2 .. rst-class:: public static .. php:method:: public static jsonDeserialize( $json) :Parameters: * **$json** (:any:`stdClass `) :Returns: static :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\DeserializationException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\NotSupportedException ` :Throws: :any:`\\Firstred\\PostNL\\Exception\\InvalidConfigurationException `