Contact.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Rest\Response\Fields\Order\Customer;
  6. /**
  7. * Temando API Order Customer Contact Field
  8. *
  9. * @package Temando\Shipping\Rest
  10. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  11. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  12. * @link https://www.temando.com/
  13. */
  14. class Contact
  15. {
  16. /**
  17. * @var string
  18. */
  19. private $organisationName;
  20. /**
  21. * @var string
  22. */
  23. private $personFirstName;
  24. /**
  25. * @var string
  26. */
  27. private $personLastName;
  28. /**
  29. * @var string
  30. */
  31. private $email;
  32. /**
  33. * @var string[]
  34. */
  35. private $phoneNumbers = [];
  36. /**
  37. * @var string
  38. */
  39. private $faxNumber;
  40. /**
  41. * @var string
  42. */
  43. private $nationalIdentificationNumber;
  44. /**
  45. * @var string
  46. */
  47. private $taxIdentificationNumber;
  48. /**
  49. * @return string
  50. */
  51. public function getOrganisationName()
  52. {
  53. return $this->organisationName;
  54. }
  55. /**
  56. * @param string $organisationName
  57. * @return void
  58. */
  59. public function setOrganisationName($organisationName)
  60. {
  61. $this->organisationName = $organisationName;
  62. }
  63. /**
  64. * @return string
  65. */
  66. public function getPersonFirstName()
  67. {
  68. return $this->personFirstName;
  69. }
  70. /**
  71. * @param string $personFirstName
  72. * @return void
  73. */
  74. public function setPersonFirstName($personFirstName)
  75. {
  76. $this->personFirstName = $personFirstName;
  77. }
  78. /**
  79. * @return string
  80. */
  81. public function getPersonLastName()
  82. {
  83. return $this->personLastName;
  84. }
  85. /**
  86. * @param string $personLastName
  87. * @return void
  88. */
  89. public function setPersonLastName($personLastName)
  90. {
  91. $this->personLastName = $personLastName;
  92. }
  93. /**
  94. * @return string
  95. */
  96. public function getEmail()
  97. {
  98. return $this->email;
  99. }
  100. /**
  101. * @param string $email
  102. * @return void
  103. */
  104. public function setEmail($email)
  105. {
  106. $this->email = $email;
  107. }
  108. /**
  109. * @return string[]
  110. */
  111. public function getPhoneNumbers()
  112. {
  113. return $this->phoneNumbers;
  114. }
  115. /**
  116. * @param string[] $phoneNumbers
  117. * @return void
  118. */
  119. public function setPhoneNumbers(array $phoneNumbers)
  120. {
  121. $this->phoneNumbers = $phoneNumbers;
  122. }
  123. /**
  124. * @return string
  125. */
  126. public function getFaxNumber()
  127. {
  128. return $this->faxNumber;
  129. }
  130. /**
  131. * @param string $faxNumber
  132. * @return void
  133. */
  134. public function setFaxNumber($faxNumber)
  135. {
  136. $this->faxNumber = $faxNumber;
  137. }
  138. /**
  139. * @return string
  140. */
  141. public function getNationalIdentificationNumber()
  142. {
  143. return $this->nationalIdentificationNumber;
  144. }
  145. /**
  146. * @param string $nationalIdentificationNumber
  147. * @return void
  148. */
  149. public function setNationalIdentificationNumber($nationalIdentificationNumber)
  150. {
  151. $this->nationalIdentificationNumber = $nationalIdentificationNumber;
  152. }
  153. /**
  154. * @return string
  155. */
  156. public function getTaxIdentificationNumber()
  157. {
  158. return $this->taxIdentificationNumber;
  159. }
  160. /**
  161. * @param string $taxIdentificationNumber
  162. * @return void
  163. */
  164. public function setTaxIdentificationNumber($taxIdentificationNumber)
  165. {
  166. $this->taxIdentificationNumber = $taxIdentificationNumber;
  167. }
  168. }