GetBatchInterface.php 875 B

12345678910111213141516171819202122232425262728293031323334
  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\Batch;
  7. /**
  8. * Temando API Get Batch Operation
  9. *
  10. * @package Temando\Shipping\Rest
  11. * @author Rhodri Davies <rhodri.davies@temando.com>
  12. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  13. * @link http://www.temando.com/
  14. */
  15. interface GetBatchInterface extends CompoundDocumentInterface
  16. {
  17. /**
  18. * Obtain response entities
  19. *
  20. * @return \Temando\Shipping\Rest\Response\DataObject\Batch
  21. */
  22. public function getData();
  23. /**
  24. * Set response entities
  25. *
  26. * @param \Temando\Shipping\Rest\Response\DataObject\Batch $batch
  27. * @return void
  28. */
  29. public function setData(Batch $batch);
  30. }