IsProductAssignedToStockInterface.php 369 B

123456789101112131415161718
  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\Model;
  8. interface IsProductAssignedToStockInterface
  9. {
  10. /**
  11. * @param string $sku
  12. * @param int $stockId
  13. * @return bool
  14. */
  15. public function execute(string $sku, int $stockId): bool;
  16. }