Package org.stellar.sdk.xdr
Class TransactionMeta
java.lang.Object
org.stellar.sdk.xdr.TransactionMeta
TransactionMeta's original definition in the XDR file is:
union TransactionMeta switch (int v) { case 0: OperationMeta operations<>; case 1: TransactionMetaV1 v1; case 2: TransactionMetaV2 v2; case 3: TransactionMetaV3 v3; };
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionTransactionMeta
(Integer discriminant, OperationMeta[] operations, TransactionMetaV1 v1, TransactionMetaV2 v2, TransactionMetaV3 v3) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TransactionMeta
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TransactionMeta
fromXdrBase64
(String xdr) static TransactionMeta
fromXdrByteArray
(byte[] xdr) getV1()
getV2()
getV3()
int
hashCode()
void
setDiscriminant
(Integer discriminant) void
setOperations
(OperationMeta[] operations) void
void
void
toString()
default String
default byte[]
-
Constructor Details
-
TransactionMeta
public TransactionMeta() -
TransactionMeta
public TransactionMeta(Integer discriminant, OperationMeta[] operations, TransactionMetaV1 v1, TransactionMetaV2 v2, TransactionMetaV3 v3)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getOperations
-
getV1
-
getV2
-
getV3
-
setDiscriminant
-
setOperations
-
setV1
-
setV2
-
setV3
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-