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.

178 lines
3.1 KiB

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class RatedPackageType
  4. {
  5. /**
  6. *
  7. * @var ChargesType $TransportationCharges
  8. * @access public
  9. */
  10. public $TransportationCharges = null;
  11. /**
  12. *
  13. * @var ChargesType $ServiceOptionsCharges
  14. * @access public
  15. */
  16. public $ServiceOptionsCharges = null;
  17. /**
  18. *
  19. * @var ChargesType $TotalCharges
  20. * @access public
  21. */
  22. public $TotalCharges = null;
  23. /**
  24. *
  25. * @var string $Weight
  26. * @access public
  27. */
  28. public $Weight = null;
  29. /**
  30. *
  31. * @var BillingWeightType $BillingWeight
  32. * @access public
  33. */
  34. public $BillingWeight = null;
  35. /**
  36. *
  37. * @var AccessorialType $Accessorial
  38. * @access public
  39. */
  40. public $Accessorial = null;
  41. /**
  42. *
  43. * @param ChargesType $TransportationCharges
  44. * @param ChargesType $ServiceOptionsCharges
  45. * @param ChargesType $TotalCharges
  46. * @param string $Weight
  47. * @param BillingWeightType $BillingWeight
  48. * @param AccessorialType $Accessorial
  49. * @access public
  50. */
  51. public function __construct($TransportationCharges = null, $ServiceOptionsCharges = null, $TotalCharges = null, $Weight = null, $BillingWeight = null, $Accessorial = null)
  52. {
  53. $this->TransportationCharges = $TransportationCharges;
  54. $this->ServiceOptionsCharges = $ServiceOptionsCharges;
  55. $this->TotalCharges = $TotalCharges;
  56. $this->Weight = $Weight;
  57. $this->BillingWeight = $BillingWeight;
  58. $this->Accessorial = $Accessorial;
  59. }
  60. /**
  61. *
  62. * @return ChargesType
  63. */
  64. public function getTransportationCharges()
  65. {
  66. return $this->TransportationCharges;
  67. }
  68. /**
  69. *
  70. * @param ChargesType $TransportationCharges
  71. */
  72. public function setTransportationCharges($TransportationCharges)
  73. {
  74. $this->TransportationCharges = $TransportationCharges;
  75. }
  76. /**
  77. *
  78. * @return ChargesType
  79. */
  80. public function getServiceOptionsCharges()
  81. {
  82. return $this->ServiceOptionsCharges;
  83. }
  84. /**
  85. *
  86. * @param ChargesType $ServiceOptionsCharges
  87. */
  88. public function setServiceOptionsCharges($ServiceOptionsCharges)
  89. {
  90. $this->ServiceOptionsCharges = $ServiceOptionsCharges;
  91. }
  92. /**
  93. *
  94. * @return ChargesType
  95. */
  96. public function getTotalCharges()
  97. {
  98. return $this->TotalCharges;
  99. }
  100. /**
  101. *
  102. * @param ChargesType $TotalCharges
  103. */
  104. public function setTotalCharges($TotalCharges)
  105. {
  106. $this->TotalCharges = $TotalCharges;
  107. }
  108. /**
  109. *
  110. * @return string
  111. */
  112. public function getWeight()
  113. {
  114. return $this->Weight;
  115. }
  116. /**
  117. *
  118. * @param string $Weight
  119. */
  120. public function setWeight($Weight)
  121. {
  122. $this->Weight = $Weight;
  123. }
  124. /**
  125. *
  126. * @return BillingWeightType
  127. */
  128. public function getBillingWeight()
  129. {
  130. return $this->BillingWeight;
  131. }
  132. /**
  133. *
  134. * @param BillingWeightType $BillingWeight
  135. */
  136. public function setBillingWeight($BillingWeight)
  137. {
  138. $this->BillingWeight = $BillingWeight;
  139. }
  140. /**
  141. *
  142. * @return AccessorialType
  143. */
  144. public function getAccessorial()
  145. {
  146. return $this->Accessorial;
  147. }
  148. /**
  149. *
  150. * @param AccessorialType $Accessorial
  151. */
  152. public function setAccessorial($Accessorial)
  153. {
  154. $this->Accessorial = $Accessorial;
  155. }
  156. }