Log in
Model

MethodList

Magento\Payment\Model\MethodList

What it does

This service class retrieves and filters all available payment methods for a given shopping cart/quote.

Developers use it when they need to display payment options at checkout or programmatically determine which payment methods are enabled and applicable based on store configuration, cart totals, currency, and country restrictions.

Public Methods

  • getAvailableMethods()