public enum TxSetComponentType extends java.lang.Enum<TxSetComponentType> implements XdrElement
enum TxSetComponentType { // txs with effective fee <= bid derived from a base fee (if any). // If base fee is not specified, no discount is applied. TXSET_COMP_TXS_MAYBE_DISCOUNTED_FEE = 0 };
Enum Constant and Description |
---|
TXSET_COMP_TXS_MAYBE_DISCOUNTED_FEE |
Modifier and Type | Method and Description |
---|---|
static TxSetComponentType |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static TxSetComponentType |
fromXdrBase64(java.lang.String xdr) |
static TxSetComponentType |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static TxSetComponentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TxSetComponentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toXdrBase64, toXdrByteArray
public static final TxSetComponentType TXSET_COMP_TXS_MAYBE_DISCOUNTED_FEE
public static TxSetComponentType[] values()
for (TxSetComponentType c : TxSetComponentType.values()) System.out.println(c);
public static TxSetComponentType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static TxSetComponentType decode(XdrDataInputStream stream) throws java.io.IOException
java.io.IOException
public void encode(XdrDataOutputStream stream) throws java.io.IOException
encode
in interface XdrElement
java.io.IOException
public static TxSetComponentType fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static TxSetComponentType fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException