Model
IsProductSalableResult
Magento\InventorySales\Model\IsProductSalableResult
What it does
This class represents the result of checking whether a product is salable (available for sale) in Magento's Multi-Source Inventory system.
Developers use this to get structured information about a product's salability status for a specific stock, including the product SKU, stock ID, and whether it can be sold.
It's typically returned by inventory availability checking services.
Public Methods
- getSku()
- getStockId()
- isSalable()
- setExtensionAttributes()
- getExtensionAttributes()