Interface
PaymentMethodListInterface
Magento\Payment\Api\PaymentMethodListInterface
What it does
This interface defines the contract for retrieving payment methods available in a Magento 2 store.
Developers use this to get either all payment methods or only active ones for a specific store, which is useful when building checkout processes, payment configuration screens, or any feature that needs to display or work with available payment options.
Public Methods
- getList()
- getActiveList()