Log in
Model

PaymentMethodList

Magento\Payment\Model\PaymentMethodList

What it does

This class retrieves and manages payment methods available in a Magento store.

Developers use it to get lists of all configured payment methods or only active ones for a specific store, with methods automatically sorted by their configured order.

It's commonly used when displaying payment options during checkout or in admin panels.

Public Methods

  • getList()
  • getActiveList()