RmaShipmentManagementInterface.php 806 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Api\Rma;
  6. /**
  7. * Manage RMA Shipments
  8. *
  9. * @api
  10. * @package Temando\Shipping\Api
  11. * @author Benjamin Heuer <benjamin.heuer@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 RmaShipmentManagementInterface
  16. {
  17. /**
  18. * Assign platform shipment IDs to a core RMA entity.
  19. *
  20. * @param int $rmaId
  21. * @param string[] $returnShipmentIds
  22. *
  23. * @return int Number of successfully assigned shipment IDs.
  24. * @throws \Magento\Framework\Exception\LocalizedException
  25. */
  26. public function assignShipmentIds($rmaId, array $returnShipmentIds);
  27. }