public enum ClawbackClaimableBalanceResultCode extends java.lang.Enum<ClawbackClaimableBalanceResultCode> implements XdrElement
enum ClawbackClaimableBalanceResultCode { // codes considered as "success" for the operation CLAWBACK_CLAIMABLE_BALANCE_SUCCESS = 0, // codes considered as "failure" for the operation CLAWBACK_CLAIMABLE_BALANCE_DOES_NOT_EXIST = -1, CLAWBACK_CLAIMABLE_BALANCE_NOT_ISSUER = -2, CLAWBACK_CLAIMABLE_BALANCE_NOT_CLAWBACK_ENABLED = -3 };
Enum Constant and Description |
---|
CLAWBACK_CLAIMABLE_BALANCE_DOES_NOT_EXIST |
CLAWBACK_CLAIMABLE_BALANCE_NOT_CLAWBACK_ENABLED |
CLAWBACK_CLAIMABLE_BALANCE_NOT_ISSUER |
CLAWBACK_CLAIMABLE_BALANCE_SUCCESS |
Modifier and Type | Method and Description |
---|---|
static ClawbackClaimableBalanceResultCode |
decode(XdrDataInputStream stream) |
void |
encode(XdrDataOutputStream stream) |
static ClawbackClaimableBalanceResultCode |
fromXdrBase64(java.lang.String xdr) |
static ClawbackClaimableBalanceResultCode |
fromXdrByteArray(byte[] xdr) |
int |
getValue() |
static ClawbackClaimableBalanceResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClawbackClaimableBalanceResultCode[] |
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 ClawbackClaimableBalanceResultCode CLAWBACK_CLAIMABLE_BALANCE_SUCCESS
public static final ClawbackClaimableBalanceResultCode CLAWBACK_CLAIMABLE_BALANCE_DOES_NOT_EXIST
public static final ClawbackClaimableBalanceResultCode CLAWBACK_CLAIMABLE_BALANCE_NOT_ISSUER
public static final ClawbackClaimableBalanceResultCode CLAWBACK_CLAIMABLE_BALANCE_NOT_CLAWBACK_ENABLED
public static ClawbackClaimableBalanceResultCode[] values()
for (ClawbackClaimableBalanceResultCode c : ClawbackClaimableBalanceResultCode.values()) System.out.println(c);
public static ClawbackClaimableBalanceResultCode 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 ClawbackClaimableBalanceResultCode 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 ClawbackClaimableBalanceResultCode fromXdrBase64(java.lang.String xdr) throws java.io.IOException
java.io.IOException
public static ClawbackClaimableBalanceResultCode fromXdrByteArray(byte[] xdr) throws java.io.IOException
java.io.IOException