CreditmemoCreationArgumentsInterface
Magento\Sales\Api\Data\CreditmemoCreationArgumentsInterface
What it does
This interface defines the contract for managing additional arguments when creating a credit memo in Magento 2.
Developers use it to specify shipping amounts and positive/negative adjustments that affect the final credit memo total.
It's typically used when programmatically creating credit memos through the API to apply custom refund amounts beyond the standard item refunds.
Public Methods
- getShippingAmount()
- getAdjustmentPositive()
- getAdjustmentNegative()
- setShippingAmount()
- setAdjustmentPositive()
- setAdjustmentNegative()
- getExtensionAttributes()
- setExtensionAttributes()