Group.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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\Completion;
  6. /**
  7. * Temando API Completion Group 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 Group
  15. {
  16. /**
  17. * @var string
  18. */
  19. private $ref;
  20. /**
  21. * @var string
  22. */
  23. private $manifestReference;
  24. /**
  25. * @var string
  26. */
  27. private $pickupReference;
  28. /**
  29. * @var \Temando\Shipping\Rest\Response\Fields\Completion\Group\Charge[]
  30. */
  31. private $charges = [];
  32. /**
  33. * @var string
  34. */
  35. private $integrationId;
  36. /**
  37. * @var string
  38. */
  39. private $carrierName;
  40. /**
  41. * @var string
  42. */
  43. private $carrierMessage;
  44. /**
  45. * @var string
  46. */
  47. private $originId;
  48. /**
  49. * @var \Temando\Shipping\Rest\Response\Fields\Generic\Documentation[]
  50. */
  51. private $documentation = [];
  52. /**
  53. * @return string
  54. */
  55. public function getRef()
  56. {
  57. return $this->ref;
  58. }
  59. /**
  60. * @param string $ref
  61. * @return void
  62. */
  63. public function setRef($ref)
  64. {
  65. $this->ref = $ref;
  66. }
  67. /**
  68. * @return string
  69. */
  70. public function getManifestReference()
  71. {
  72. return $this->manifestReference;
  73. }
  74. /**
  75. * @param string $manifestReference
  76. * @return void
  77. */
  78. public function setManifestReference($manifestReference)
  79. {
  80. $this->manifestReference = $manifestReference;
  81. }
  82. /**
  83. * @return string
  84. */
  85. public function getPickupReference()
  86. {
  87. return $this->pickupReference;
  88. }
  89. /**
  90. * @param string $pickupReference
  91. * @return void
  92. */
  93. public function setPickupReference($pickupReference)
  94. {
  95. $this->pickupReference = $pickupReference;
  96. }
  97. /**
  98. * @return \Temando\Shipping\Rest\Response\Fields\Completion\Group\Charge[]
  99. */
  100. public function getCharges()
  101. {
  102. return $this->charges;
  103. }
  104. /**
  105. * @param \Temando\Shipping\Rest\Response\Fields\Completion\Group\Charge[] $charges
  106. * @return void
  107. */
  108. public function setCharges(array $charges)
  109. {
  110. $this->charges = $charges;
  111. }
  112. /**
  113. * @return string
  114. */
  115. public function getIntegrationId()
  116. {
  117. return $this->integrationId;
  118. }
  119. /**
  120. * @param string $integrationId
  121. * @return void
  122. */
  123. public function setIntegrationId($integrationId)
  124. {
  125. $this->integrationId = $integrationId;
  126. }
  127. /**
  128. * @return string
  129. */
  130. public function getCarrierName()
  131. {
  132. return $this->carrierName;
  133. }
  134. /**
  135. * @param string $carrierName
  136. * @return void
  137. */
  138. public function setCarrierName($carrierName)
  139. {
  140. $this->carrierName = $carrierName;
  141. }
  142. /**
  143. * @return string
  144. */
  145. public function getCarrierMessage()
  146. {
  147. return $this->carrierMessage;
  148. }
  149. /**
  150. * @param string $carrierMessage
  151. * @return void
  152. */
  153. public function setCarrierMessage($carrierMessage)
  154. {
  155. $this->carrierMessage = $carrierMessage;
  156. }
  157. /**
  158. * @return string
  159. */
  160. public function getOriginId()
  161. {
  162. return $this->originId;
  163. }
  164. /**
  165. * @param string $originId
  166. * @return void
  167. */
  168. public function setOriginId($originId)
  169. {
  170. $this->originId = $originId;
  171. }
  172. /**
  173. * @return \Temando\Shipping\Rest\Response\Fields\Generic\Documentation[]
  174. */
  175. public function getDocumentation()
  176. {
  177. return $this->documentation;
  178. }
  179. /**
  180. * @param \Temando\Shipping\Rest\Response\Fields\Generic\Documentation[] $documentation
  181. * @return void
  182. */
  183. public function setDocumentation($documentation)
  184. {
  185. $this->documentation = $documentation;
  186. }
  187. }