Interface
GetIsStockItemSalableConditionInterface
Magento\InventorySales\Model\ResourceModel\IsStockItemSalableCondition\GetIsStockItemSalableConditionInterface
What it does
This interface defines a contract for building database conditions that determine if a stock item is salable (available for purchase).
Developers implement this interface to add custom logic for checking product availability based on inventory status, typically when querying product collections or validating stock levels during checkout.
Public Methods
- execute()