Data
Magento\Payment\Helper\Data
What it does
This helper class provides utility methods for working with payment methods in Magento 2.
Developers use it to retrieve payment method instances, get available payment methods for a store, render payment form and info blocks, and access configuration settings for payment methods including zero subtotal checkout options.
It's commonly used in checkout flows, order processing, and when displaying payment information in the admin or frontend.
Public Methods
- getMethodInstance()
- getStoreMethods()
- getMethodFormBlock()
- getInfoBlock()
- getInfoBlockHtml()
- getPaymentMethods()
- getPaymentMethodList()
- isZeroSubTotal()
- getZeroSubTotalOrderStatus()
- getZeroSubTotalPaymentAutomaticInvoice()