A modest collection of PHP libraries used at SparkFun.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
2.2 KiB

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class ChargesType
  4. {
  5. /**
  6. *
  7. * @var string $Code
  8. * @access public
  9. */
  10. public $Code = null;
  11. /**
  12. *
  13. * @var string $Description
  14. * @access public
  15. */
  16. public $Description = null;
  17. /**
  18. *
  19. * @var string $CurrencyCode
  20. * @access public
  21. */
  22. public $CurrencyCode = null;
  23. /**
  24. *
  25. * @var string $MonetaryValue
  26. * @access public
  27. */
  28. public $MonetaryValue = null;
  29. /**
  30. *
  31. * @var string $SubType
  32. * @access public
  33. */
  34. public $SubType = null;
  35. /**
  36. *
  37. * @param string $Code
  38. * @param string $Description
  39. * @param string $CurrencyCode
  40. * @param string $MonetaryValue
  41. * @param string $SubType
  42. * @access public
  43. */
  44. public function __construct($Code = null, $Description = null, $CurrencyCode = null, $MonetaryValue = null, $SubType = null)
  45. {
  46. $this->Code = $Code;
  47. $this->Description = $Description;
  48. $this->CurrencyCode = $CurrencyCode;
  49. $this->MonetaryValue = $MonetaryValue;
  50. $this->SubType = $SubType;
  51. }
  52. /**
  53. *
  54. * @return string
  55. */
  56. public function getCode()
  57. {
  58. return $this->Code;
  59. }
  60. /**
  61. *
  62. * @param string $Code
  63. */
  64. public function setCode($Code)
  65. {
  66. $this->Code = $Code;
  67. }
  68. /**
  69. *
  70. * @return string
  71. */
  72. public function getDescription()
  73. {
  74. return $this->Description;
  75. }
  76. /**
  77. *
  78. * @param string $Description
  79. */
  80. public function setDescription($Description)
  81. {
  82. $this->Description = $Description;
  83. }
  84. /**
  85. *
  86. * @return string
  87. */
  88. public function getCurrencyCode()
  89. {
  90. return $this->CurrencyCode;
  91. }
  92. /**
  93. *
  94. * @param string $CurrencyCode
  95. */
  96. public function setCurrencyCode($CurrencyCode)
  97. {
  98. $this->CurrencyCode = $CurrencyCode;
  99. }
  100. /**
  101. *
  102. * @return string
  103. */
  104. public function getMonetaryValue()
  105. {
  106. return $this->MonetaryValue;
  107. }
  108. /**
  109. *
  110. * @param string $MonetaryValue
  111. */
  112. public function setMonetaryValue($MonetaryValue)
  113. {
  114. $this->MonetaryValue = $MonetaryValue;
  115. }
  116. /**
  117. *
  118. * @return string
  119. */
  120. public function getSubType()
  121. {
  122. return $this->SubType;
  123. }
  124. /**
  125. *
  126. * @param string $SubType
  127. */
  128. public function setSubType($SubType)
  129. {
  130. $this->SubType = $SubType;
  131. }
  132. }