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.

70 lines
1.1 KiB

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class DryIceWeightType
  4. {
  5. /**
  6. *
  7. * @var CodeDescriptionType $UnitOfMeasurement
  8. * @access public
  9. */
  10. public $UnitOfMeasurement = null;
  11. /**
  12. *
  13. * @var string $Weight
  14. * @access public
  15. */
  16. public $Weight = null;
  17. /**
  18. *
  19. * @param CodeDescriptionType $UnitOfMeasurement
  20. * @param string $Weight
  21. * @access public
  22. */
  23. public function __construct($UnitOfMeasurement = null, $Weight = null)
  24. {
  25. $this->UnitOfMeasurement = $UnitOfMeasurement;
  26. $this->Weight = $Weight;
  27. }
  28. /**
  29. *
  30. * @return CodeDescriptionType
  31. */
  32. public function getUnitOfMeasurement()
  33. {
  34. return $this->UnitOfMeasurement;
  35. }
  36. /**
  37. *
  38. * @param CodeDescriptionType $UnitOfMeasurement
  39. */
  40. public function setUnitOfMeasurement($UnitOfMeasurement)
  41. {
  42. $this->UnitOfMeasurement = $UnitOfMeasurement;
  43. }
  44. /**
  45. *
  46. * @return string
  47. */
  48. public function getWeight()
  49. {
  50. return $this->Weight;
  51. }
  52. /**
  53. *
  54. * @param string $Weight
  55. */
  56. public function setWeight($Weight)
  57. {
  58. $this->Weight = $Weight;
  59. }
  60. }