Model
InventoryData
Magento\InventoryCatalog\Model\UpdateInventory\InventoryData
What it does
This is a data transfer object (DTO) that encapsulates inventory information needed for mass updating stock items in Magento's Multi-Source Inventory (MSI) system.
Developers use this class to pass product SKUs and their associated inventory data together as a single unit when performing bulk inventory updates, ensuring data consistency during legacy stock item operations.
Public Methods
- getSkus()
- getData()