.. rst-class:: phpdoctorst .. role:: php(code) :language: php Customer ======== .. php:namespace:: Firstred\PostNL\Entity .. php:class:: Customer :Parent: :php:class:`Firstred\\PostNL\\Entity\\AbstractEntity` Summary ------- Methods ~~~~~~~ * :php:meth:`public \_\_construct\($CustomerNumber, $CustomerCode, $CollectionLocation, $ContactPerson, $Email, $Name, $Address, $GlobalPackCustomerCode, $GlobalPackBarcodeType\)` * :php:meth:`public getAddress\(\)` * :php:meth:`public setAddress\($Address\)` * :php:meth:`public getCollectionLocation\(\)` * :php:meth:`public setCollectionLocation\($CollectionLocation\)` * :php:meth:`public getContactPerson\(\)` * :php:meth:`public setContactPerson\($ContactPerson\)` * :php:meth:`public getCustomerCode\(\)` * :php:meth:`public setCustomerCode\($CustomerCode\)` * :php:meth:`public getCustomerNumber\(\)` * :php:meth:`public setCustomerNumber\($CustomerNumber\)` * :php:meth:`public getGlobalPackCustomerCode\(\)` * :php:meth:`public setGlobalPackCustomerCode\($GlobalPackCustomerCode\)` * :php:meth:`public getGlobalPackBarcodeType\(\)` * :php:meth:`public setGlobalPackBarcodeType\($GlobalPackBarcodeType\)` * :php:meth:`public getEmail\(\)` * :php:meth:`public setEmail\($Email\)` * :php:meth:`public getName\(\)` * :php:meth:`public setName\($Name\)` Properties ---------- .. php:attr:: protected static Address :Type: :any:`\\Firstred\\PostNL\\Entity\\Address ` | null .. php:attr:: protected static CollectionLocation :Type: string | null .. php:attr:: protected static ContactPerson :Type: string | null .. php:attr:: protected static CustomerCode :Type: string | null .. php:attr:: protected static CustomerNumber :Type: string | null .. php:attr:: protected static GlobalPackCustomerCode :Type: string | null .. php:attr:: protected static GlobalPackBarcodeType :Type: string | null .. php:attr:: protected static Email :Type: string | null .. php:attr:: protected static Name :Type: string | null Methods ------- .. rst-class:: public .. php:method:: public __construct( $CustomerNumber=null, $CustomerCode=null, $CollectionLocation=null, $ContactPerson=null, $Email=null, $Name=null, $Address=null, $GlobalPackCustomerCode=null, $GlobalPackBarcodeType=null) :Parameters: * **$CustomerNumber** (string | null) * **$CustomerCode** (string | null) * **$CollectionLocation** (string | null) * **$ContactPerson** (string | null) * **$Email** (string | null) * **$Name** (string | null) * **$Address** (:any:`Firstred\\PostNL\\Entity\\Address ` | null) * **$GlobalPackCustomerCode** (string | null) * **$GlobalPackBarcodeType** (string | 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 getCollectionLocation() :Returns: string | null .. rst-class:: public .. php:method:: public setCollectionLocation( $CollectionLocation) :Parameters: * **$CollectionLocation** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getContactPerson() :Returns: string | null .. rst-class:: public .. php:method:: public setContactPerson( $ContactPerson) :Parameters: * **$ContactPerson** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getCustomerCode() :Returns: string | null .. rst-class:: public .. php:method:: public setCustomerCode( $CustomerCode) :Parameters: * **$CustomerCode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getCustomerNumber() :Returns: string | null .. rst-class:: public .. php:method:: public setCustomerNumber( $CustomerNumber) :Parameters: * **$CustomerNumber** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getGlobalPackCustomerCode() :Returns: string | null .. rst-class:: public .. php:method:: public setGlobalPackCustomerCode( $GlobalPackCustomerCode) :Parameters: * **$GlobalPackCustomerCode** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getGlobalPackBarcodeType() :Returns: string | null .. rst-class:: public .. php:method:: public setGlobalPackBarcodeType( $GlobalPackBarcodeType) :Parameters: * **$GlobalPackBarcodeType** (string | null) :Returns: static .. rst-class:: public .. php:method:: public getEmail() :Returns: string | null .. rst-class:: public .. php:method:: public setEmail( $Email) :Parameters: * **$Email** (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