ShipmentOperationInterface.php 794 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model\Sales\Service\Operation;
  6. use Magento\Framework\Exception\LocalizedException;
  7. use Temando\Shipping\Model\ShipmentInterface;
  8. /**
  9. * Temando Shipment Operation Interface.
  10. *
  11. * @package Temando\Shipping\Model
  12. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  13. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  14. * @link https://www.temando.com/
  15. */
  16. interface ShipmentOperationInterface
  17. {
  18. /**
  19. * @param ShipmentInterface $shipment
  20. * @param int $salesShipmentId
  21. * @throws LocalizedException
  22. */
  23. public function execute(ShipmentInterface $shipment, int $salesShipmentId): void;
  24. }