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.

205 lines
3.4 KiB

  1. <?php
  2. namespace SparkLib\UPS\Rate;
  3. class ADRType
  4. {
  5. /**
  6. *
  7. * @var string $AddressLine
  8. * @access public
  9. */
  10. public $AddressLine = null;
  11. /**
  12. *
  13. * @var string $City
  14. * @access public
  15. */
  16. public $City = null;
  17. /**
  18. *
  19. * @var string $StateProvinceCode
  20. * @access public
  21. */
  22. public $StateProvinceCode = null;
  23. /**
  24. *
  25. * @var string $PostalCode
  26. * @access public
  27. */
  28. public $PostalCode = null;
  29. /**
  30. *
  31. * @var string $CountryCode
  32. * @access public
  33. */
  34. public $CountryCode = null;
  35. /**
  36. *
  37. * @var string $ResidentialAddressIndicator
  38. * @access public
  39. */
  40. public $ResidentialAddressIndicator = null;
  41. /**
  42. *
  43. * @var string $POBoxIndicator
  44. * @access public
  45. */
  46. public $POBoxIndicator = null;
  47. /**
  48. *
  49. * @param string $AddressLine
  50. * @param string $City
  51. * @param string $StateProvinceCode
  52. * @param string $PostalCode
  53. * @param string $CountryCode
  54. * @param string $ResidentialAddressIndicator
  55. * @param string $POBoxIndicator
  56. * @access public
  57. */
  58. public function __construct($AddressLine = null, $City = null, $StateProvinceCode = null, $PostalCode = null, $CountryCode = null, $ResidentialAddressIndicator = null, $POBoxIndicator = null)
  59. {
  60. $this->AddressLine = $AddressLine;
  61. $this->City = $City;
  62. $this->StateProvinceCode = $StateProvinceCode;
  63. $this->PostalCode = $PostalCode;
  64. $this->CountryCode = $CountryCode;
  65. $this->ResidentialAddressIndicator = $ResidentialAddressIndicator;
  66. $this->POBoxIndicator = $POBoxIndicator;
  67. }
  68. /**
  69. *
  70. * @return string
  71. */
  72. public function getAddressLine()
  73. {
  74. return $this->AddressLine;
  75. }
  76. /**
  77. *
  78. * @param string $AddressLine
  79. */
  80. public function setAddressLine($AddressLine)
  81. {
  82. $this->AddressLine = $AddressLine;
  83. }
  84. /**
  85. *
  86. * @return string
  87. */
  88. public function getCity()
  89. {
  90. return $this->City;
  91. }
  92. /**
  93. *
  94. * @param string $City
  95. */
  96. public function setCity($City)
  97. {
  98. $this->City = $City;
  99. }
  100. /**
  101. *
  102. * @return string
  103. */
  104. public function getStateProvinceCode()
  105. {
  106. return $this->StateProvinceCode;
  107. }
  108. /**
  109. *
  110. * @param string $StateProvinceCode
  111. */
  112. public function setStateProvinceCode($StateProvinceCode)
  113. {
  114. $this->StateProvinceCode = $StateProvinceCode;
  115. }
  116. /**
  117. *
  118. * @return string
  119. */
  120. public function getPostalCode()
  121. {
  122. return $this->PostalCode;
  123. }
  124. /**
  125. *
  126. * @param string $PostalCode
  127. */
  128. public function setPostalCode($PostalCode)
  129. {
  130. $this->PostalCode = $PostalCode;
  131. }
  132. /**
  133. *
  134. * @return string
  135. */
  136. public function getCountryCode()
  137. {
  138. return $this->CountryCode;
  139. }
  140. /**
  141. *
  142. * @param string $CountryCode
  143. */
  144. public function setCountryCode($CountryCode)
  145. {
  146. $this->CountryCode = $CountryCode;
  147. }
  148. /**
  149. *
  150. * @return string
  151. */
  152. public function getResidentialAddressIndicator()
  153. {
  154. return $this->ResidentialAddressIndicator;
  155. }
  156. /**
  157. *
  158. * @param string $ResidentialAddressIndicator
  159. */
  160. public function setResidentialAddressIndicator($ResidentialAddressIndicator)
  161. {
  162. $this->ResidentialAddressIndicator = $ResidentialAddressIndicator;
  163. }
  164. /**
  165. *
  166. * @return string
  167. */
  168. public function getPOBoxIndicator()
  169. {
  170. return $this->POBoxIndicator;
  171. }
  172. /**
  173. *
  174. * @param string $POBoxIndicator
  175. */
  176. public function setPOBoxIndicator($POBoxIndicator)
  177. {
  178. $this->POBoxIndicator = $POBoxIndicator;
  179. }
  180. }