Model
ItemsToRefund
Magento\InventorySales\Model\ReturnProcessor\Request\ItemsToRefund
What it does
This class represents a data transfer object (DTO) for items that need to be refunded during a return process in Magento's Multi-Source Inventory (MSI) system.
Developers use this class to encapsulate refund item information including the product SKU, quantity to refund, and already processed quantity when handling credit memos and product returns.
Public Methods
- getSku()
- getQuantity()
- getProcessedQuantity()