Log in
Model

Info

Magento\Payment\Model\Info

What it does

This class stores and manages payment information for orders in Magento 2.

Developers use it to access payment method details, encrypt/decrypt sensitive data like credit card numbers, and store additional payment-related information in a flexible key-value format.

It serves as the core model for handling payment data throughout the checkout and order processing workflow.

Public Methods

  • getData()
  • getMethodInstance()
  • encrypt()
  • decrypt()
  • setAdditionalInformation()
  • getAdditionalInformation()
  • unsAdditionalInformation()
  • hasAdditionalInformation()