Model
RefundAdapter
Magento\Sales\Model\Order\RefundAdapter
What it does
This adapter class serves as an interface wrapper for executing refund operations in Magento 2.
Developers would use this class when they need to process a refund for an order through a credit memo, either online (through payment gateway) or offline.
It acts as a facade that delegates the actual refund logic to the RefundOperation class.
Public Methods
- refund()