TransactionInterface
Magento\Sales\Api\Data\TransactionInterface
What it does
This interface defines the contract for payment transaction data objects in Magento 2.
Developers use it to interact with transaction records that represent merchant-customer interactions like purchases, authorizations, captures, refunds, and voids.
It provides methods to get and set transaction details such as IDs, types, parent-child relationships, and additional information for tracking payment processing workflows.
Public Methods
- getTransactionId()
- setTransactionId()
- getParentId()
- getOrderId()
- getPaymentId()
- getTxnId()
- getParentTxnId()
- getTxnType()
- getIsClosed()
- getAdditionalInformation()
- getCreatedAt()
- setCreatedAt()
- getChildTransactions()
- setParentId()
- setOrderId()
- setPaymentId()
- setTxnId()
- setParentTxnId()
- setTxnType()
- setIsClosed()
- setAdditionalInformation()
- getExtensionAttributes()
- setExtensionAttributes()