Interface
PaymentAdapterInterface
Magento\Sales\Model\Order\PaymentAdapterInterface
What it does
This interface defines a contract for processing payment operations on orders in Magento 2.
Developers implement this interface to create custom payment adapters that handle payment capture and authorization when invoices are created.
It serves as an extension point for customizing how payments are processed during the order-to-invoice workflow.
Public Methods
- pay()