Model
AreProductsSalableForRequestedQty
Magento\InventorySales\Model\AreProductsSalableForRequestedQty
What it does
This class checks if multiple products are available for sale in the requested quantities within a specific stock.
Developers use this when validating cart items or bulk order operations to ensure all products have sufficient salable quantity before proceeding with checkout or order placement.
Public Methods
- execute()