GetCompletionsInterface.php 842 B

12345678910111213141516171819202122232425262728293031
  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. /**
  7. * Temando API Get Completion Collection Document
  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. interface GetCompletionsInterface
  15. {
  16. /**
  17. * Obtain response entities
  18. *
  19. * @return \Temando\Shipping\Rest\Response\DataObject\Completion[]
  20. */
  21. public function getData();
  22. /**
  23. * Set response entities
  24. *
  25. * @param \Temando\Shipping\Rest\Response\DataObject\Completion[] $completions
  26. * @return void
  27. */
  28. public function setData(array $completions);
  29. }