SourceItemsDeleteInterface.php 745 B

1234567891011121314151617181920212223242526272829
  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\InventoryApi\Api;
  8. /**
  9. * Service method for source items delete multiple
  10. * Performance efficient API
  11. *
  12. * Used fully qualified namespaces in annotations for proper work of WebApi request parser
  13. *
  14. * @api
  15. */
  16. interface SourceItemsDeleteInterface
  17. {
  18. /**
  19. * Delete Multiple Source item data
  20. *
  21. * @param \Magento\InventoryApi\Api\Data\SourceItemInterface[] $sourceItems
  22. * @return void
  23. * @throws \Magento\Framework\Exception\InputException
  24. * @throws \Magento\Framework\Exception\CouldNotSaveException
  25. */
  26. public function execute(array $sourceItems): void;
  27. }