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.1 KiB

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