SaveStockItemConfigurationInterface.php 684 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\InventoryConfigurationApi\Api;
  8. /**
  9. * Save stock item configuration data
  10. *
  11. * @api
  12. */
  13. interface SaveStockItemConfigurationInterface
  14. {
  15. /**
  16. * @param string $sku
  17. * @param int $stockId
  18. * @param \Magento\InventoryConfigurationApi\Api\Data\StockItemConfigurationInterface $stockItemConfiguration
  19. * @return void
  20. */
  21. public function execute(
  22. string $sku,
  23. int $stockId,
  24. \Magento\InventoryConfigurationApi\Api\Data\StockItemConfigurationInterface $stockItemConfiguration
  25. ): void;
  26. }