Package org.stellar.sdk.xdr
Class TransactionMetaV2
java.lang.Object
org.stellar.sdk.xdr.TransactionMetaV2
- All Implemented Interfaces:
XdrElement
TransactionMetaV2's original definition in the XDR file is:
struct TransactionMetaV2
{
LedgerEntryChanges txChangesBefore; // tx level changes before operations
// are applied if any
OperationMeta operations<>; // meta for each operation
LedgerEntryChanges txChangesAfter; // tx level changes after operations are
// applied if any
};
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTransactionMetaV2(LedgerEntryChanges txChangesBefore, OperationMeta[] operations, LedgerEntryChanges txChangesAfter) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()static TransactionMetaV2decode(XdrDataInputStream stream) voidencode(XdrDataOutputStream stream) booleanstatic TransactionMetaV2fromXdrBase64(String xdr) static TransactionMetaV2fromXdrByteArray(byte[] xdr) inthashCode()voidsetOperations(OperationMeta[] operations) voidsetTxChangesAfter(LedgerEntryChanges txChangesAfter) voidsetTxChangesBefore(LedgerEntryChanges txChangesBefore) toString()Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TransactionMetaV2
public TransactionMetaV2() -
TransactionMetaV2
public TransactionMetaV2(LedgerEntryChanges txChangesBefore, OperationMeta[] operations, LedgerEntryChanges txChangesAfter)
-
-
Method Details
-
encode
- Specified by:
encodein interfaceXdrElement- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getTxChangesBefore
-
getOperations
-
getTxChangesAfter
-
setTxChangesBefore
-
setOperations
-
setTxChangesAfter
-
equals
-
hashCode
public int hashCode() -
toString
-