123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <?php
- /**
- * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
- */
- namespace Temando\Shipping\Rest\Response\Fields\Order\Customer;
- /**
- * Temando API Order Customer Contact Field
- *
- * @package Temando\Shipping\Rest
- * @author Christoph Aßmann <christoph.assmann@netresearch.de>
- * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
- * @link https://www.temando.com/
- */
- class Contact
- {
- /**
- * @var string
- */
- private $organisationName;
- /**
- * @var string
- */
- private $personFirstName;
- /**
- * @var string
- */
- private $personLastName;
- /**
- * @var string
- */
- private $email;
- /**
- * @var string[]
- */
- private $phoneNumbers = [];
- /**
- * @var string
- */
- private $faxNumber;
- /**
- * @var string
- */
- private $nationalIdentificationNumber;
- /**
- * @var string
- */
- private $taxIdentificationNumber;
- /**
- * @return string
- */
- public function getOrganisationName()
- {
- return $this->organisationName;
- }
- /**
- * @param string $organisationName
- * @return void
- */
- public function setOrganisationName($organisationName)
- {
- $this->organisationName = $organisationName;
- }
- /**
- * @return string
- */
- public function getPersonFirstName()
- {
- return $this->personFirstName;
- }
- /**
- * @param string $personFirstName
- * @return void
- */
- public function setPersonFirstName($personFirstName)
- {
- $this->personFirstName = $personFirstName;
- }
- /**
- * @return string
- */
- public function getPersonLastName()
- {
- return $this->personLastName;
- }
- /**
- * @param string $personLastName
- * @return void
- */
- public function setPersonLastName($personLastName)
- {
- $this->personLastName = $personLastName;
- }
- /**
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
- /**
- * @param string $email
- * @return void
- */
- public function setEmail($email)
- {
- $this->email = $email;
- }
- /**
- * @return string[]
- */
- public function getPhoneNumbers()
- {
- return $this->phoneNumbers;
- }
- /**
- * @param string[] $phoneNumbers
- * @return void
- */
- public function setPhoneNumbers(array $phoneNumbers)
- {
- $this->phoneNumbers = $phoneNumbers;
- }
- /**
- * @return string
- */
- public function getFaxNumber()
- {
- return $this->faxNumber;
- }
- /**
- * @param string $faxNumber
- * @return void
- */
- public function setFaxNumber($faxNumber)
- {
- $this->faxNumber = $faxNumber;
- }
- /**
- * @return string
- */
- public function getNationalIdentificationNumber()
- {
- return $this->nationalIdentificationNumber;
- }
- /**
- * @param string $nationalIdentificationNumber
- * @return void
- */
- public function setNationalIdentificationNumber($nationalIdentificationNumber)
- {
- $this->nationalIdentificationNumber = $nationalIdentificationNumber;
- }
- /**
- * @return string
- */
- public function getTaxIdentificationNumber()
- {
- return $this->taxIdentificationNumber;
- }
- /**
- * @param string $taxIdentificationNumber
- * @return void
- */
- public function setTaxIdentificationNumber($taxIdentificationNumber)
- {
- $this->taxIdentificationNumber = $taxIdentificationNumber;
- }
- }
|