public enum CreateClaimableBalanceResultCode extends java.lang.Enum<CreateClaimableBalanceResultCode> implements XdrElement
enum CreateClaimableBalanceResultCode { CREATE_CLAIMABLE_BALANCE_SUCCESS = 0, CREATE_CLAIMABLE_BALANCE_MALFORMED = -1, CREATE_CLAIMABLE_BALANCE_LOW_RESERVE = -2, CREATE_CLAIMABLE_BALANCE_NO_TRUST = -3, CREATE_CLAIMABLE_BALANCE_NOT_AUTHORIZED = -4, CREATE_CLAIMABLE_BALANCE_UNDERFUNDED = -5 };
Modifier and Type | Method and Description |
---|---|
static CreateClaimableBalanceResultCode |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static CreateClaimableBalanceResultCode |
fromXdrBase64(java.lang.String xdr) |
static CreateClaimableBalanceResultCode |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static CreateClaimableBalanceResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreateClaimableBalanceResultCode[] |
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 CreateClaimableBalanceResultCode CREATE_CLAIMABLE_BALANCE_SUCCESS
public static final CreateClaimableBalanceResultCode CREATE_CLAIMABLE_BALANCE_MALFORMED
public static final CreateClaimableBalanceResultCode CREATE_CLAIMABLE_BALANCE_LOW_RESERVE
public static final CreateClaimableBalanceResultCode CREATE_CLAIMABLE_BALANCE_NO_TRUST
public static final CreateClaimableBalanceResultCode CREATE_CLAIMABLE_BALANCE_NOT_AUTHORIZED
public static final CreateClaimableBalanceResultCode CREATE_CLAIMABLE_BALANCE_UNDERFUNDED
public static CreateClaimableBalanceResultCode[] values()
for (CreateClaimableBalanceResultCode c : CreateClaimableBalanceResultCode.values()) System.out.println(c);
public static CreateClaimableBalanceResultCode 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 CreateClaimableBalanceResultCode 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 CreateClaimableBalanceResultCode fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static CreateClaimableBalanceResultCode fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException