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.

67 lines
1.5 KiB

  1. <?php
  2. namespace SparkLib\UPS\StreetAddressValidate;
  3. class RequestType
  4. {
  5. /**
  6. * @var string[] $RequestOption
  7. * @access public
  8. */
  9. public $RequestOption = null;
  10. /**
  11. * @var TransactionReferenceType $TransactionReference
  12. * @access public
  13. */
  14. public $TransactionReference = null;
  15. /**
  16. * @param string[] $RequestOption
  17. * @param TransactionReferenceType $TransactionReference
  18. * @access public
  19. */
  20. public function __construct($RequestOption = null, $TransactionReference = null)
  21. {
  22. $this->RequestOption = $RequestOption;
  23. $this->TransactionReference = $TransactionReference;
  24. }
  25. /**
  26. * @return string[]
  27. */
  28. public function getRequestOption()
  29. {
  30. return $this->RequestOption;
  31. }
  32. /**
  33. * @param string[] $RequestOption
  34. * @return \SparkLib\UPS\StreetAddressValidate\RequestType
  35. */
  36. public function setRequestOption($RequestOption)
  37. {
  38. $this->RequestOption = $RequestOption;
  39. return $this;
  40. }
  41. /**
  42. * @return TransactionReferenceType
  43. */
  44. public function getTransactionReference()
  45. {
  46. return $this->TransactionReference;
  47. }
  48. /**
  49. * @param TransactionReferenceType $TransactionReference
  50. * @return \SparkLib\UPS\StreetAddressValidate\RequestType
  51. */
  52. public function setTransactionReference($TransactionReference)
  53. {
  54. $this->TransactionReference = $TransactionReference;
  55. return $this;
  56. }
  57. }