Model
ItemCreation
Magento\Sales\Model\Order\Creditmemo\ItemCreation
What it does
This class represents a data transfer object (DTO) used when creating credit memo items via Magento's API.
Developers use this class to specify which order items should be refunded and in what quantities when programmatically creating credit memos through the Sales API.
It encapsulates the essential information needed to create a single line item in a credit memo.
Public Methods
- getOrderItemId()
- setOrderItemId()
- getQty()
- setQty()
- getExtensionAttributes()
- setExtensionAttributes()