Package org.stellar.sdk.xdr
Class TxSetComponent
java.lang.Object
org.stellar.sdk.xdr.TxSetComponent
- All Implemented Interfaces:
XdrElement
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
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
TxSetComponentTxsMaybeDiscountedFee's original definition in the XDR file is: -
Constructor Summary
ConstructorsConstructorDescriptionTxSetComponent
(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()
Methods inherited from interface org.stellar.sdk.xdr.XdrElement
toXdrBase64, toXdrByteArray
-
Constructor Details
-
TxSetComponent
public TxSetComponent() -
TxSetComponent
public TxSetComponent(TxSetComponentType discriminant, TxSetComponent.TxSetComponentTxsMaybeDiscountedFee txsMaybeDiscountedFee)
-
-
Method Details
-
encode
- Specified by:
encode
in interfaceXdrElement
- 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
-