StockSourceLinksDeleteInterface.php 692 B

12345678910111213141516171819202122232425262728
  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 stock source links 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 StockSourceLinksDeleteInterface
  17. {
  18. /**
  19. * Remove StockSourceLink list list
  20. *
  21. * @param \Magento\InventoryApi\Api\Data\StockSourceLinkInterface[] $links
  22. * @return void
  23. * @throws \Magento\Framework\Exception\CouldNotDeleteException
  24. */
  25. public function execute(array $links): void;
  26. }