ExportDeclaration.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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\Shipment;
  6. use Temando\Shipping\Rest\Response\Fields\Shipment\ExportDeclaration\Signatory;
  7. /**
  8. * Temando API Shipment Export Declaration Field
  9. *
  10. * @package Temando\Shipping\Rest
  11. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  12. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  13. * @link https://www.temando.com/
  14. */
  15. class ExportDeclaration
  16. {
  17. /**
  18. * @var string
  19. */
  20. private $exportReason;
  21. /**
  22. * @var \Temando\Shipping\Rest\Response\Fields\Shipment\ExportDeclaration\Signatory
  23. */
  24. private $signatory;
  25. /**
  26. * @var string
  27. */
  28. private $exportCategory;
  29. /**
  30. * @var \Temando\Shipping\Rest\Response\Fields\Shipment\ExportDeclaration\ExportCodes
  31. */
  32. private $exportCodes;
  33. /**
  34. * @var \Temando\Shipping\Rest\Response\Fields\Generic\MonetaryValue
  35. */
  36. private $declaredValue;
  37. /**
  38. * @var string
  39. */
  40. private $incoterm;
  41. /**
  42. * @return string
  43. */
  44. public function getExportReason()
  45. {
  46. return $this->exportReason;
  47. }
  48. /**
  49. * @param string $exportReason
  50. */
  51. public function setExportReason($exportReason)
  52. {
  53. $this->exportReason = $exportReason;
  54. }
  55. /**
  56. * @return \Temando\Shipping\Rest\Response\Fields\Shipment\ExportDeclaration\Signatory
  57. */
  58. public function getSignatory()
  59. {
  60. return $this->signatory;
  61. }
  62. /**
  63. * @param \Temando\Shipping\Rest\Response\Fields\Shipment\ExportDeclaration\Signatory $signatory
  64. */
  65. public function setSignatory(Signatory $signatory)
  66. {
  67. $this->signatory = $signatory;
  68. }
  69. /**
  70. * @return string
  71. */
  72. public function getExportCategory()
  73. {
  74. return $this->exportCategory;
  75. }
  76. /**
  77. * @return \Temando\Shipping\Rest\Response\Fields\Shipment\ExportDeclaration\ExportCodes
  78. */
  79. public function getExportCodes()
  80. {
  81. return $this->exportCodes;
  82. }
  83. /**
  84. * @param \Temando\Shipping\Rest\Response\Fields\Shipment\ExportDeclaration\ExportCodes $exportCodes
  85. */
  86. public function setExportCodes($exportCodes)
  87. {
  88. $this->exportCodes = $exportCodes;
  89. }
  90. /**
  91. * @param string $exportCategory
  92. */
  93. public function setExportCategory($exportCategory)
  94. {
  95. $this->exportCategory = $exportCategory;
  96. }
  97. /**
  98. * @return \Temando\Shipping\Rest\Response\Fields\Generic\MonetaryValue
  99. */
  100. public function getDeclaredValue()
  101. {
  102. return $this->declaredValue;
  103. }
  104. /**
  105. * @param \Temando\Shipping\Rest\Response\Fields\Generic\MonetaryValue $declaredValue
  106. */
  107. public function setDeclaredValue($declaredValue)
  108. {
  109. $this->declaredValue = $declaredValue;
  110. }
  111. /**
  112. * @return string
  113. */
  114. public function getIncoterm()
  115. {
  116. return $this->incoterm;
  117. }
  118. /**
  119. * @param string $incoterm
  120. */
  121. public function setIncoterm($incoterm)
  122. {
  123. $this->incoterm = $incoterm;
  124. }
  125. }