Class GetTransactionsResponse.Transaction
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetTransactionsResponse.Transaction
- Enclosing class:
GetTransactionsResponse
-
Constructor Summary
ConstructorDescriptionTransaction
(GetTransactionsResponse.TransactionStatus status, String txHash, Integer applicationOrder, Boolean feeBump, String envelopeXdr, String resultXdr, String resultMetaXdr, Long ledger, Long createdAt, List<String> diagnosticEventsXdr) Creates a newTransaction
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
The field can be parsed asTransactionEnvelope
object.The field can be parsed asTransactionMeta
object.The field can be parsed asTransactionResult
object.int
hashCode()
Parses thediagnosticEventsXdr
field from a list of strings to a list ofDiagnosticEvent
objects.Parses theenvelopeXdr
field from a string to anTransactionEnvelope
object.Parses theresultMetaXdr
field from a string to anTransactionMeta
object.Parses theresultXdr
field from a string to anTransactionResult
object.toString()
-
Constructor Details
-
Transaction
public Transaction(GetTransactionsResponse.TransactionStatus status, String txHash, Integer applicationOrder, Boolean feeBump, String envelopeXdr, String resultXdr, String resultMetaXdr, Long ledger, Long createdAt, List<String> diagnosticEventsXdr) Creates a newTransaction
instance.- Parameters:
status
-txHash
-applicationOrder
-feeBump
-envelopeXdr
- The field can be parsed asTransactionEnvelope
object.resultXdr
- The field can be parsed asTransactionResult
object.resultMetaXdr
- The field can be parsed asTransactionMeta
object.ledger
-createdAt
-diagnosticEventsXdr
-
-
-
Method Details
-
parseEnvelopeXdr
Parses theenvelopeXdr
field from a string to anTransactionEnvelope
object.- Returns:
- the parsed
TransactionEnvelope
object
-
parseResultXdr
Parses theresultXdr
field from a string to anTransactionResult
object.- Returns:
- the parsed
TransactionResult
object
-
parseResultMetaXdr
Parses theresultMetaXdr
field from a string to anTransactionMeta
object.- Returns:
- the parsed
TransactionMeta
object
-
parseDiagnosticEventsXdr
Parses thediagnosticEventsXdr
field from a list of strings to a list ofDiagnosticEvent
objects.- Returns:
- a list of parsed
DiagnosticEvent
objects
-
getStatus
-
getTxHash
-
getApplicationOrder
-
getFeeBump
-
getEnvelopeXdr
The field can be parsed asTransactionEnvelope
object. -
getResultXdr
The field can be parsed asTransactionResult
object. -
getResultMetaXdr
The field can be parsed asTransactionMeta
object. -
getLedger
-
getCreatedAt
-
getDiagnosticEventsXdr
-
equals
-
hashCode
public int hashCode() -
toString
-