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 access and manipulate transaction information such as authorization, capture, refund, and void operations.
It provides methods to retrieve transaction details like transaction ID, type, status, and parent-child transaction relationships, making it essential for payment processing workflows and transaction management.
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()