ItemRequest
Magento\InventorySourceSelection\Model\Request\ItemRequest
What it does
This class represents a single item request in Magento's inventory source selection process, containing the SKU and quantity needed for allocation.
Developers use this when requesting inventory allocation decisions, such as determining which warehouse should fulfill a particular product quantity in an order.
It's typically used as part of the Source Selection API to pass item-level requirements to inventory algorithms.
Public Methods
- getSku()
- getQty()
- setSku()
- setQty()
- getExtensionAttributes()
- setExtensionAttributes()