Interface
PaymentMethodManagementInterface
Magento\Quote\Api\PaymentMethodManagementInterface
What it does
This interface defines the contract for managing payment methods in Magento 2 shopping carts.
Developers use it to set a payment method for a cart, retrieve the currently selected payment method, or get a list of all available payment methods for a specific cart.
It's commonly used during checkout processes and when integrating custom payment solutions.
Public Methods
- set()
- get()
- getList()