Model
IsProductSalableConditionChain
Magento\InventorySales\Model\IsProductSalableCondition\IsProductSalableConditionChain
What it does
This class acts as a chain of responsibility pattern for determining if a product can be sold from a specific stock.
Developers use this to extend product salability checks by adding custom conditions through dependency injection, where required conditions must all pass and unrequired conditions are evaluated in sort order until one passes.
Public Methods
- execute()