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.7 KiB

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