Package org.stellar.sdk.xdr
Class TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction
java.lang.Object
org.stellar.sdk.xdr.TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction
- Enclosing class:
TransactionSignaturePayload
public static class TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction
extends Object
TransactionSignaturePayloadTaggedTransaction's original definition in the XDR file is:
union switch (EnvelopeType type) { // Backwards Compatibility: Use ENVELOPE_TYPE_TX to sign ENVELOPE_TYPE_TX_V0 case ENVELOPE_TYPE_TX: Transaction tx; case ENVELOPE_TYPE_TX_FEE_BUMP: FeeBumpTransaction feeBump; }
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorDescriptionTransactionSignaturePayloadTaggedTransaction
(EnvelopeType discriminant, Transaction tx, FeeBumpTransaction feeBump) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
fromXdrBase64
(String xdr) fromXdrByteArray
(byte[] xdr) getTx()
int
hashCode()
void
setDiscriminant
(EnvelopeType discriminant) void
setFeeBump
(FeeBumpTransaction feeBump) void
setTx
(Transaction tx) toString()
default String
default byte[]
-
Constructor Details
-
TransactionSignaturePayloadTaggedTransaction
public TransactionSignaturePayloadTaggedTransaction() -
TransactionSignaturePayloadTaggedTransaction
public TransactionSignaturePayloadTaggedTransaction(EnvelopeType discriminant, Transaction tx, FeeBumpTransaction feeBump)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
public static TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction decode(XdrDataInputStream stream) throws IOException - Throws:
IOException
-
fromXdrBase64
public static TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction fromXdrBase64(String xdr) throws IOException - Throws:
IOException
-
fromXdrByteArray
public static TransactionSignaturePayload.TransactionSignaturePayloadTaggedTransaction fromXdrByteArray(byte[] xdr) throws IOException - Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getTx
-
getFeeBump
-
setDiscriminant
-
setTx
-
setFeeBump
-
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-