Model
AreMultipleProductsSalable
Magento\InventoryIndexer\Model\AreMultipleProductsSalable
What it does
This class checks whether multiple products are available for sale (salable) in a specific stock.
Developers use it when they need to verify inventory availability for multiple SKUs at once, such as during checkout validation or bulk product status checks.
It returns an array mapping each SKU to its salability status (true/false).
Public Methods
- execute()