Package org.stellar.sdk.xdr
Class TxSetComponent
java.lang.Object
org.stellar.sdk.xdr.TxSetComponent
TxSetComponent's original definition in the XDR file is:
union TxSetComponent switch (TxSetComponentType type) { case TXSET_COMP_TXS_MAYBE_DISCOUNTED_FEE: struct { int64* baseFee; TransactionEnvelope txs<>; } txsMaybeDiscountedFee; };
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
TxSetComponentTxsMaybeDiscountedFee's original definition in the XDR file is: -
Constructor Summary
ConstructorDescriptionTxSetComponent
(TxSetComponentType discriminant, TxSetComponent.TxSetComponentTxsMaybeDiscountedFee txsMaybeDiscountedFee) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
static TxSetComponent
decode
(XdrDataInputStream stream) void
encode
(XdrDataOutputStream stream) boolean
static TxSetComponent
fromXdrBase64
(String xdr) static TxSetComponent
fromXdrByteArray
(byte[] xdr) int
hashCode()
void
setDiscriminant
(TxSetComponentType discriminant) void
setTxsMaybeDiscountedFee
(TxSetComponent.TxSetComponentTxsMaybeDiscountedFee txsMaybeDiscountedFee) toString()
default String
default byte[]
-
Constructor Details
-
TxSetComponent
public TxSetComponent() -
TxSetComponent
public TxSetComponent(TxSetComponentType discriminant, TxSetComponent.TxSetComponentTxsMaybeDiscountedFee txsMaybeDiscountedFee)
-
-
Method Details
-
encode
- Throws:
IOException
-
decode
- Throws:
IOException
-
fromXdrBase64
- Throws:
IOException
-
fromXdrByteArray
- Throws:
IOException
-
builder
-
toBuilder
-
getDiscriminant
-
getTxsMaybeDiscountedFee
-
setDiscriminant
-
setTxsMaybeDiscountedFee
public void setTxsMaybeDiscountedFee(TxSetComponent.TxSetComponentTxsMaybeDiscountedFee txsMaybeDiscountedFee) -
equals
-
hashCode
public int hashCode() -
toString
-
toXdrBase64
- Throws:
IOException
-
toXdrByteArray
- Throws:
IOException
-