Log in
Model

SourceDeductedOrderItem

Magento\InventorySalesApi\Model\ReturnProcessor\Result\SourceDeductedOrderItem

What it does

This is a Data Transfer Object (DTO) that represents a single order item that has had its inventory deducted from a source during the return process.

Developers use this class to pass information about returned items (SKU and quantity) when processing order returns in Magento's Multi-Source Inventory system.

Public Methods

  • getSku()
  • getQuantity()