Model
InventoryRequest
Magento\InventorySourceSelection\Model\Request\InventoryRequest
What it does
This class represents an inventory request for source selection in Magento's Multi-Source Inventory (MSI).
Developers use it to request inventory allocation from available sources by specifying a stock ID and an array of items (SKU and quantity).
It's typically used during checkout or order placement to determine which warehouse sources should fulfill an order.
Public Methods
- getStockId()
- getItems()
- setStockId()
- setItems()
- getExtensionAttributes()
- setExtensionAttributes()