Interface
RefundAdapterInterface
Magento\Sales\Model\Order\RefundAdapterInterface
What it does
This interface defines a contract for processing refund operations in Magento 2.
Developers implement this interface to create custom refund adapters that handle the refund logic when a credit memo is created, whether online (via payment gateway) or offline.
It serves as an extension point for customizing refund behavior across different payment methods or business requirements.
Public Methods
- refund()