Container.php 994 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. /**
  7. * Temando API Container Resource Object
  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 Container extends AbstractResource
  15. {
  16. /**
  17. * @var \Temando\Shipping\Rest\Response\Fields\ContainerAttributes
  18. */
  19. private $attributes;
  20. /**
  21. * @return \Temando\Shipping\Rest\Response\Fields\ContainerAttributes
  22. */
  23. public function getAttributes()
  24. {
  25. return $this->attributes;
  26. }
  27. /**
  28. * @param \Temando\Shipping\Rest\Response\Fields\ContainerAttributes $attributes
  29. *
  30. * @return void
  31. */
  32. public function setAttributes($attributes)
  33. {
  34. $this->attributes = $attributes;
  35. }
  36. }