Log in
Model

PaymentAdditionalInfo

Magento\Payment\Model\PaymentAdditionalInfo

What it does

This class represents a key-value pair for storing additional payment information in Magento 2.

Developers use it to attach custom data to payment transactions, such as transaction IDs, gateway responses, or payment method-specific details that need to be persisted alongside the order payment record.

Public Methods

  • getKey()
  • getValue()
  • setKey()
  • setValue()