ReservationsCondition
Magento\InventorySales\Model\ResourceModel\IsStockItemSalableCondition\ReservationsCondition
What it does
This class generates a SQL condition to check if a product is salable by considering both physical inventory and reservations (pending orders).
It ensures that the available quantity (source quantity plus/minus reservations) exceeds the configured minimum quantity threshold before allowing a product to be sold.
Developers use this as part of the inventory salability check in Magento's Multi-Source Inventory system.
Public Methods
- execute()