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.

97 lines
1.6 KiB

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class LocationType
  4. {
  5. /**
  6. *
  7. * @var string $LocationElementName
  8. * @access public
  9. */
  10. public $LocationElementName = null;
  11. /**
  12. *
  13. * @var string $XPathOfElement
  14. * @access public
  15. */
  16. public $XPathOfElement = null;
  17. /**
  18. *
  19. * @var string $OriginalValue
  20. * @access public
  21. */
  22. public $OriginalValue = null;
  23. /**
  24. *
  25. * @param string $LocationElementName
  26. * @param string $XPathOfElement
  27. * @param string $OriginalValue
  28. * @access public
  29. */
  30. public function __construct($LocationElementName = null, $XPathOfElement = null, $OriginalValue = null)
  31. {
  32. $this->LocationElementName = $LocationElementName;
  33. $this->XPathOfElement = $XPathOfElement;
  34. $this->OriginalValue = $OriginalValue;
  35. }
  36. /**
  37. *
  38. * @return string
  39. */
  40. public function getLocationElementName()
  41. {
  42. return $this->LocationElementName;
  43. }
  44. /**
  45. *
  46. * @param string $LocationElementName
  47. */
  48. public function setLocationElementName($LocationElementName)
  49. {
  50. $this->LocationElementName = $LocationElementName;
  51. }
  52. /**
  53. *
  54. * @return string
  55. */
  56. public function getXPathOfElement()
  57. {
  58. return $this->XPathOfElement;
  59. }
  60. /**
  61. *
  62. * @param string $XPathOfElement
  63. */
  64. public function setXPathOfElement($XPathOfElement)
  65. {
  66. $this->XPathOfElement = $XPathOfElement;
  67. }
  68. /**
  69. *
  70. * @return string
  71. */
  72. public function getOriginalValue()
  73. {
  74. return $this->OriginalValue;
  75. }
  76. /**
  77. *
  78. * @param string $OriginalValue
  79. */
  80. public function setOriginalValue($OriginalValue)
  81. {
  82. $this->OriginalValue = $OriginalValue;
  83. }
  84. }