GetIsStockItemSalableConditionInterface.php 506 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\InventorySales\Model\ResourceModel\IsStockItemSalableCondition;
  8. use Magento\Framework\DB\Select;
  9. /**
  10. * Responsible for building is_salable conditions foe stock item
  11. *
  12. * @api
  13. */
  14. interface GetIsStockItemSalableConditionInterface
  15. {
  16. /**
  17. * @param Select $select
  18. * @return string
  19. */
  20. public function execute(Select $select): string;
  21. }