GetSalableQty
Magento\InventorySales\Model\GetSalableQty
What it does
This class calculates the salable (available for sale) quantity of a product SKU for a specific stock.
It considers the physical inventory quantity, adds any reservation quantities (from orders being processed), and subtracts the minimum quantity threshold configured for the stock item.
Developers use this when they need to determine how much of a product can actually be sold to customers.
Public Methods
- execute()