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.

394 lines
7.7 KiB

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class ShipmentType
  4. {
  5. /**
  6. *
  7. * @var ShipperType $Shipper
  8. * @access public
  9. */
  10. public $Shipper = null;
  11. /**
  12. *
  13. * @var ShipToType $ShipTo
  14. * @access public
  15. */
  16. public $ShipTo = null;
  17. /**
  18. *
  19. * @var ShipFromType $ShipFrom
  20. * @access public
  21. */
  22. public $ShipFrom = null;
  23. /**
  24. *
  25. * @var AlternateDeliveryAddressType $AlternateDeliveryAddress
  26. * @access public
  27. */
  28. public $AlternateDeliveryAddress = null;
  29. /**
  30. *
  31. * @var IndicationType $ShipmentIndicationType
  32. * @access public
  33. */
  34. public $ShipmentIndicationType = null;
  35. /**
  36. *
  37. * @var FRSPaymentInfoType $FRSPaymentInformation
  38. * @access public
  39. */
  40. public $FRSPaymentInformation = null;
  41. /**
  42. *
  43. * @var CodeDescriptionType $Service
  44. * @access public
  45. */
  46. public $Service = null;
  47. /**
  48. *
  49. * @var string $DocumentsOnlyIndicator
  50. * @access public
  51. */
  52. public $DocumentsOnlyIndicator = null;
  53. /**
  54. *
  55. * @var string $NumOfPieces
  56. * @access public
  57. */
  58. public $NumOfPieces = null;
  59. /**
  60. *
  61. * @var PackageType $Package
  62. * @access public
  63. */
  64. public $Package = null;
  65. /**
  66. *
  67. * @var ShipmentServiceOptionsType $ShipmentServiceOptions
  68. * @access public
  69. */
  70. public $ShipmentServiceOptions = null;
  71. /**
  72. *
  73. * @var ShipmentRatingOptionsType $ShipmentRatingOptions
  74. * @access public
  75. */
  76. public $ShipmentRatingOptions = null;
  77. /**
  78. *
  79. * @var InvoiceLineTotalType $InvoiceLineTotal
  80. * @access public
  81. */
  82. public $InvoiceLineTotal = null;
  83. /**
  84. *
  85. * @var string $ItemizedChargesRequestedIndicator
  86. * @access public
  87. */
  88. public $ItemizedChargesRequestedIndicator = null;
  89. /**
  90. *
  91. * @param ShipperType $Shipper
  92. * @param ShipToType $ShipTo
  93. * @param ShipFromType $ShipFrom
  94. * @param AlternateDeliveryAddressType $AlternateDeliveryAddress
  95. * @param IndicationType $ShipmentIndicationType
  96. * @param FRSPaymentInfoType $FRSPaymentInformation
  97. * @param CodeDescriptionType $Service
  98. * @param string $DocumentsOnlyIndicator
  99. * @param string $NumOfPieces
  100. * @param PackageType $Package
  101. * @param ShipmentServiceOptionsType $ShipmentServiceOptions
  102. * @param ShipmentRatingOptionsType $ShipmentRatingOptions
  103. * @param InvoiceLineTotalType $InvoiceLineTotal
  104. * @param string $ItemizedChargesRequestedIndicator
  105. * @access public
  106. */
  107. public function __construct($Shipper = null, $ShipTo = null, $ShipFrom = null, $AlternateDeliveryAddress = null, $ShipmentIndicationType = null, $FRSPaymentInformation = null, $Service = null, $DocumentsOnlyIndicator = null, $NumOfPieces = null, $Package = null, $ShipmentServiceOptions = null, $ShipmentRatingOptions = null, $InvoiceLineTotal = null, $ItemizedChargesRequestedIndicator = null)
  108. {
  109. $this->Shipper = $Shipper;
  110. $this->ShipTo = $ShipTo;
  111. $this->ShipFrom = $ShipFrom;
  112. $this->AlternateDeliveryAddress = $AlternateDeliveryAddress;
  113. $this->ShipmentIndicationType = $ShipmentIndicationType;
  114. $this->FRSPaymentInformation = $FRSPaymentInformation;
  115. $this->Service = $Service;
  116. $this->DocumentsOnlyIndicator = $DocumentsOnlyIndicator;
  117. $this->NumOfPieces = $NumOfPieces;
  118. $this->Package = $Package;
  119. $this->ShipmentServiceOptions = $ShipmentServiceOptions;
  120. $this->ShipmentRatingOptions = $ShipmentRatingOptions;
  121. $this->InvoiceLineTotal = $InvoiceLineTotal;
  122. $this->ItemizedChargesRequestedIndicator = $ItemizedChargesRequestedIndicator;
  123. }
  124. /**
  125. *
  126. * @return ShipperType
  127. */
  128. public function getShipper()
  129. {
  130. return $this->Shipper;
  131. }
  132. /**
  133. *
  134. * @param ShipperType $Shipper
  135. */
  136. public function setShipper($Shipper)
  137. {
  138. $this->Shipper = $Shipper;
  139. }
  140. /**
  141. *
  142. * @return ShipToType
  143. */
  144. public function getShipTo()
  145. {
  146. return $this->ShipTo;
  147. }
  148. /**
  149. *
  150. * @param ShipToType $ShipTo
  151. */
  152. public function setShipTo($ShipTo)
  153. {
  154. $this->ShipTo = $ShipTo;
  155. }
  156. /**
  157. *
  158. * @return ShipFromType
  159. */
  160. public function getShipFrom()
  161. {
  162. return $this->ShipFrom;
  163. }
  164. /**
  165. *
  166. * @param ShipFromType $ShipFrom
  167. */
  168. public function setShipFrom($ShipFrom)
  169. {
  170. $this->ShipFrom = $ShipFrom;
  171. }
  172. /**
  173. *
  174. * @return AlternateDeliveryAddressType
  175. */
  176. public function getAlternateDeliveryAddress()
  177. {
  178. return $this->AlternateDeliveryAddress;
  179. }
  180. /**
  181. *
  182. * @param AlternateDeliveryAddressType $AlternateDeliveryAddress
  183. */
  184. public function setAlternateDeliveryAddress($AlternateDeliveryAddress)
  185. {
  186. $this->AlternateDeliveryAddress = $AlternateDeliveryAddress;
  187. }
  188. /**
  189. *
  190. * @return IndicationType
  191. */
  192. public function getShipmentIndicationType()
  193. {
  194. return $this->ShipmentIndicationType;
  195. }
  196. /**
  197. *
  198. * @param IndicationType $ShipmentIndicationType
  199. */
  200. public function setShipmentIndicationType($ShipmentIndicationType)
  201. {
  202. $this->ShipmentIndicationType = $ShipmentIndicationType;
  203. }
  204. /**
  205. *
  206. * @return FRSPaymentInfoType
  207. */
  208. public function getFRSPaymentInformation()
  209. {
  210. return $this->FRSPaymentInformation;
  211. }
  212. /**
  213. *
  214. * @param FRSPaymentInfoType $FRSPaymentInformation
  215. */
  216. public function setFRSPaymentInformation($FRSPaymentInformation)
  217. {
  218. $this->FRSPaymentInformation = $FRSPaymentInformation;
  219. }
  220. /**
  221. *
  222. * @return CodeDescriptionType
  223. */
  224. public function getService()
  225. {
  226. return $this->Service;
  227. }
  228. /**
  229. *
  230. * @param CodeDescriptionType $Service
  231. */
  232. public function setService($Service)
  233. {
  234. $this->Service = $Service;
  235. }
  236. /**
  237. *
  238. * @return string
  239. */
  240. public function getDocumentsOnlyIndicator()
  241. {
  242. return $this->DocumentsOnlyIndicator;
  243. }
  244. /**
  245. *
  246. * @param string $DocumentsOnlyIndicator
  247. */
  248. public function setDocumentsOnlyIndicator($DocumentsOnlyIndicator)
  249. {
  250. $this->DocumentsOnlyIndicator = $DocumentsOnlyIndicator;
  251. }
  252. /**
  253. *
  254. * @return string
  255. */
  256. public function getNumOfPieces()
  257. {
  258. return $this->NumOfPieces;
  259. }
  260. /**
  261. *
  262. * @param string $NumOfPieces
  263. */
  264. public function setNumOfPieces($NumOfPieces)
  265. {
  266. $this->NumOfPieces = $NumOfPieces;
  267. }
  268. /**
  269. *
  270. * @return PackageType
  271. */
  272. public function getPackage()
  273. {
  274. return $this->Package;
  275. }
  276. /**
  277. *
  278. * @param PackageType $Package
  279. */
  280. public function setPackage($Package)
  281. {
  282. $this->Package = $Package;
  283. }
  284. /**
  285. *
  286. * @return ShipmentServiceOptionsType
  287. */
  288. public function getShipmentServiceOptions()
  289. {
  290. return $this->ShipmentServiceOptions;
  291. }
  292. /**
  293. *
  294. * @param ShipmentServiceOptionsType $ShipmentServiceOptions
  295. */
  296. public function setShipmentServiceOptions($ShipmentServiceOptions)
  297. {
  298. $this->ShipmentServiceOptions = $ShipmentServiceOptions;
  299. }
  300. /**
  301. *
  302. * @return ShipmentRatingOptionsType
  303. */
  304. public function getShipmentRatingOptions()
  305. {
  306. return $this->ShipmentRatingOptions;
  307. }
  308. /**
  309. *
  310. * @param ShipmentRatingOptionsType $ShipmentRatingOptions
  311. */
  312. public function setShipmentRatingOptions($ShipmentRatingOptions)
  313. {
  314. $this->ShipmentRatingOptions = $ShipmentRatingOptions;
  315. }
  316. /**
  317. *
  318. * @return InvoiceLineTotalType
  319. */
  320. public function getInvoiceLineTotal()
  321. {
  322. return $this->InvoiceLineTotal;
  323. }
  324. /**
  325. *
  326. * @param InvoiceLineTotalType $InvoiceLineTotal
  327. */
  328. public function setInvoiceLineTotal($InvoiceLineTotal)
  329. {
  330. $this->InvoiceLineTotal = $InvoiceLineTotal;
  331. }
  332. /**
  333. *
  334. * @return string
  335. */
  336. public function getItemizedChargesRequestedIndicator()
  337. {
  338. return $this->ItemizedChargesRequestedIndicator;
  339. }
  340. /**
  341. *
  342. * @param string $ItemizedChargesRequestedIndicator
  343. */
  344. public function setItemizedChargesRequestedIndicator($ItemizedChargesRequestedIndicator)
  345. {
  346. $this->ItemizedChargesRequestedIndicator = $ItemizedChargesRequestedIndicator;
  347. }
  348. }