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.

124 lines
2.2 KiB

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class TotalChargeType
  4. {
  5. /**
  6. *
  7. * @var ChargesType $AccessorialCharges
  8. * @access public
  9. */
  10. public $AccessorialCharges = null;
  11. /**
  12. *
  13. * @var ChargesType $SurCharges
  14. * @access public
  15. */
  16. public $SurCharges = null;
  17. /**
  18. *
  19. * @var ChargesType $TransportationCharges
  20. * @access public
  21. */
  22. public $TransportationCharges = null;
  23. /**
  24. *
  25. * @var ChargesType $TotalCharge
  26. * @access public
  27. */
  28. public $TotalCharge = null;
  29. /**
  30. *
  31. * @param ChargesType $AccessorialCharges
  32. * @param ChargesType $SurCharges
  33. * @param ChargesType $TransportationCharges
  34. * @param ChargesType $TotalCharge
  35. * @access public
  36. */
  37. public function __construct($AccessorialCharges = null, $SurCharges = null, $TransportationCharges = null, $TotalCharge = null)
  38. {
  39. $this->AccessorialCharges = $AccessorialCharges;
  40. $this->SurCharges = $SurCharges;
  41. $this->TransportationCharges = $TransportationCharges;
  42. $this->TotalCharge = $TotalCharge;
  43. }
  44. /**
  45. *
  46. * @return ChargesType
  47. */
  48. public function getAccessorialCharges()
  49. {
  50. return $this->AccessorialCharges;
  51. }
  52. /**
  53. *
  54. * @param ChargesType $AccessorialCharges
  55. */
  56. public function setAccessorialCharges($AccessorialCharges)
  57. {
  58. $this->AccessorialCharges = $AccessorialCharges;
  59. }
  60. /**
  61. *
  62. * @return ChargesType
  63. */
  64. public function getSurCharges()
  65. {
  66. return $this->SurCharges;
  67. }
  68. /**
  69. *
  70. * @param ChargesType $SurCharges
  71. */
  72. public function setSurCharges($SurCharges)
  73. {
  74. $this->SurCharges = $SurCharges;
  75. }
  76. /**
  77. *
  78. * @return ChargesType
  79. */
  80. public function getTransportationCharges()
  81. {
  82. return $this->TransportationCharges;
  83. }
  84. /**
  85. *
  86. * @param ChargesType $TransportationCharges
  87. */
  88. public function setTransportationCharges($TransportationCharges)
  89. {
  90. $this->TransportationCharges = $TransportationCharges;
  91. }
  92. /**
  93. *
  94. * @return ChargesType
  95. */
  96. public function getTotalCharge()
  97. {
  98. return $this->TotalCharge;
  99. }
  100. /**
  101. *
  102. * @param ChargesType $TotalCharge
  103. */
  104. public function setTotalCharge($TotalCharge)
  105. {
  106. $this->TotalCharge = $TotalCharge;
  107. }
  108. }