Model
IsStockItemSalableConditionChain
Magento\InventorySales\Model\ResourceModel\IsStockItemSalableCondition\IsStockItemSalableConditionChain
What it does
This class acts as a chain of responsibility pattern to determine if a stock item is salable by combining multiple conditions.
Developers would use this to extend or customize the logic that determines product availability, allowing multiple conditions to be evaluated together with both required (AND) and optional (OR) logic when checking if inventory can be sold.
Public Methods
- execute()