Interface
PaymentAdapterInterface
Magento\Sales\Model\Order\PaymentAdapterInterface
What it does
This interface defines a contract for processing payment operations on orders during invoice creation.
Developers use this to implement custom payment processing logic or extend Magento's default payment behavior when capturing payment for an invoice.
It serves as an extension point for customizing how payments are processed and recorded against orders.
Public Methods
- pay()