Interface
InventoryRequestInterface
Magento\InventorySourceSelectionApi\Api\Data\InventoryRequestInterface
What it does
This interface defines a request object used when querying inventory for products across multiple sources.
Developers use it to specify which stock to check (via stock ID) and which products with their requested quantities need inventory allocation, typically during order placement or source selection algorithms.
Public Methods
- getStockId()
- getItems()
- setStockId()
- setItems()
- getExtensionAttributes()
- setExtensionAttributes()