StreamEvent.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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\DataObject;
  6. use Temando\Shipping\Rest\Response\Fields\StreamEventAttributes;
  7. /**
  8. * Temando API Stream Event Resource Object
  9. *
  10. * @package Temando\Shipping\Rest
  11. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  12. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  13. * @link https://www.temando.com/
  14. */
  15. class StreamEvent extends AbstractResource
  16. {
  17. /**
  18. * @var \Temando\Shipping\Rest\Response\Fields\StreamEventAttributes
  19. */
  20. private $attributes;
  21. /**
  22. * @return \Temando\Shipping\Rest\Response\Fields\StreamEventAttributes
  23. */
  24. public function getAttributes()
  25. {
  26. return $this->attributes;
  27. }
  28. /**
  29. * @param \Temando\Shipping\Rest\Response\Fields\StreamEventAttributes $attributes
  30. * @return void
  31. */
  32. public function setAttributes(StreamEventAttributes $attributes)
  33. {
  34. $this->attributes = $attributes;
  35. }
  36. }