Log in
Interface

PaymentMethodListInterface

Magento\Payment\Api\PaymentMethodListInterface

What it does

This interface defines the contract for retrieving payment methods in Magento 2.

Developers use implementations of this interface to fetch all payment methods or only active ones for a specific store, which is essential when displaying payment options during checkout or in admin configurations.

Public Methods

  • getList()
  • getActiveList()