Log in
Model

TypeList

Magento\Payment\Model\ResourceModel\Grid\TypeList

What it does

This class provides a list of available payment method types as an option array for use in Magento's admin grid filters and form selects.

Developers use this class when they need to populate dropdown menus or filter options with all configured payment methods in the system, particularly in the sales transaction grids.

Public Methods

  • toOptionArray()