IsSourceItemManagementAllowedForSkuInterface.php 511 B

123456789101112131415161718192021222324
  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\Model;
  8. /**
  9. * Is allowed management of source items for specific product sku
  10. *
  11. * @api
  12. */
  13. interface IsSourceItemManagementAllowedForSkuInterface
  14. {
  15. /**
  16. * Return whether Source Item management allowed for given SKU
  17. *
  18. * @param string $sku
  19. * @return bool
  20. */
  21. public function execute(string $sku): bool;
  22. }