GetLocationInterface.php 868 B

123456789101112131415161718192021222324252627282930313233
  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\Document;
  6. use Temando\Shipping\Rest\Response\DataObject\Location;
  7. /**
  8. * Temando API Get Location Document
  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. interface GetLocationInterface
  16. {
  17. /**
  18. * Obtain response entity
  19. *
  20. * @return \Temando\Shipping\Rest\Response\DataObject\Location
  21. */
  22. public function getData();
  23. /**
  24. * Set response entity
  25. *
  26. * @param \Temando\Shipping\Rest\Response\DataObject\Location $location
  27. * @return void
  28. */
  29. public function setData(Location $location);
  30. }