Log in
Model

PaymentAdditionalInfo

Magento\Payment\Model\PaymentAdditionalInfo

What it does

This class serves as a data container for storing additional payment information as key-value pairs.

Developers use this class when they need to attach extra metadata to payment transactions, such as transaction IDs, gateway responses, or custom payment attributes that aren't part of the standard payment object.

Public Methods

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