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

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