BatchProviderInterface.php 893 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model;
  6. use Magento\Sales\Api\Data\OrderInterface;
  7. /**
  8. * Temando Batch Provider
  9. *
  10. * @package Temando\Shipping\Model
  11. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  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 BatchProviderInterface
  16. {
  17. /**
  18. * @return BatchInterface
  19. */
  20. public function getBatch();
  21. /**
  22. * @param BatchInterface $batch
  23. * @return void
  24. */
  25. public function setBatch(BatchInterface $batch);
  26. /**
  27. * @return OrderInterface[]
  28. */
  29. public function getOrders();
  30. /**
  31. * @param OrderInterface[] $orders
  32. * @return void
  33. */
  34. public function setOrders(array $orders);
  35. }