BulkInventoryTransferInterface.php 722 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\InventoryCatalogApi\Api;
  8. /**
  9. * Perform bulk product inventory transfer
  10. *
  11. * @api
  12. */
  13. interface BulkInventoryTransferInterface
  14. {
  15. /**
  16. * Run bulk inventory transfer
  17. * @param string[] $skus
  18. * @param string $originSource
  19. * @param string $destinationSource
  20. * @param bool $unassignFromOrigin
  21. * @return bool
  22. * @throws \Magento\Framework\Validation\ValidationException
  23. */
  24. public function execute(
  25. array $skus,
  26. string $originSource,
  27. string $destinationSource,
  28. bool $unassignFromOrigin
  29. ): bool;
  30. }