StreamEventAttributes.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Rest\Response\Fields;
  6. /**
  7. * Temando API Stream Event Resource Object Attributes
  8. *
  9. * @package Temando\Shipping\Rest
  10. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  11. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  12. * @link https://www.temando.com/
  13. */
  14. class StreamEventAttributes
  15. {
  16. /**
  17. * @var string
  18. */
  19. private $event;
  20. /**
  21. * @var string
  22. */
  23. private $type;
  24. /**
  25. * @var string
  26. */
  27. private $id;
  28. /**
  29. * @return string
  30. */
  31. public function getEvent()
  32. {
  33. return $this->event;
  34. }
  35. /**
  36. * @param string $event
  37. * @return void
  38. */
  39. public function setEvent($event)
  40. {
  41. $this->event = $event;
  42. }
  43. /**
  44. * @return string
  45. */
  46. public function getType()
  47. {
  48. return $this->type;
  49. }
  50. /**
  51. * @param string $type
  52. * @return void
  53. */
  54. public function setType($type)
  55. {
  56. $this->type = $type;
  57. }
  58. /**
  59. * @return string
  60. */
  61. public function getId()
  62. {
  63. return $this->id;
  64. }
  65. /**
  66. * @param string $id
  67. * @return void
  68. */
  69. public function setId($id)
  70. {
  71. $this->id = $id;
  72. }
  73. }