AutoFulfillInterface.php 950 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model\Order\AutoProcessing;
  6. use Magento\Sales\Api\Data\OrderInterface;
  7. use Temando\Shipping\Webservice\Response\Type\OrderResponseType;
  8. /**
  9. * Temando Order Fulfillment Processor Interface.
  10. *
  11. * @package Temando\Shipping\Model
  12. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  13. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  14. * @link http://www.temando.com/
  15. */
  16. interface AutoFulfillInterface
  17. {
  18. /**
  19. * @param \Magento\Sales\Api\Data\OrderInterface $salesOrder
  20. * @param \Temando\Shipping\Webservice\Response\Type\OrderResponseType $orderResponse
  21. * @return int[]
  22. * @throws \Magento\Framework\Exception\CouldNotSaveException
  23. */
  24. public function createShipments(OrderInterface $salesOrder, OrderResponseType $orderResponse);
  25. }