Contact.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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\Location;
  6. /**
  7. * Temando API Location 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 $phoneNumber;
  36. /**
  37. * @var string
  38. */
  39. private $faxNumber;
  40. /**
  41. * @return string
  42. */
  43. public function getOrganisationName()
  44. {
  45. return $this->organisationName;
  46. }
  47. /**
  48. * @param string $organisationName
  49. * @return void
  50. */
  51. public function setOrganisationName($organisationName)
  52. {
  53. $this->organisationName = $organisationName;
  54. }
  55. /**
  56. * @return string
  57. */
  58. public function getPersonFirstName()
  59. {
  60. return $this->personFirstName;
  61. }
  62. /**
  63. * @param string $personFirstName
  64. * @return void
  65. */
  66. public function setPersonFirstName($personFirstName)
  67. {
  68. $this->personFirstName = $personFirstName;
  69. }
  70. /**
  71. * @return string
  72. */
  73. public function getPersonLastName()
  74. {
  75. return $this->personLastName;
  76. }
  77. /**
  78. * @param string $personLastName
  79. * @return void
  80. */
  81. public function setPersonLastName($personLastName)
  82. {
  83. $this->personLastName = $personLastName;
  84. }
  85. /**
  86. * @return string
  87. */
  88. public function getEmail()
  89. {
  90. return $this->email;
  91. }
  92. /**
  93. * @param string $email
  94. * @return void
  95. */
  96. public function setEmail($email)
  97. {
  98. $this->email = $email;
  99. }
  100. /**
  101. * @return string
  102. */
  103. public function getPhoneNumber()
  104. {
  105. return $this->phoneNumber;
  106. }
  107. /**
  108. * @param string $phoneNumber
  109. * @return void
  110. */
  111. public function setPhoneNumber($phoneNumber)
  112. {
  113. $this->phoneNumber = $phoneNumber;
  114. }
  115. /**
  116. * @return string
  117. */
  118. public function getFaxNumber()
  119. {
  120. return $this->faxNumber;
  121. }
  122. /**
  123. * @param string $faxNumber
  124. * @return void
  125. */
  126. public function setFaxNumber($faxNumber)
  127. {
  128. $this->faxNumber = $faxNumber;
  129. }
  130. }