public static enum AllowTrustOperation.TrustLineEntryFlag extends java.lang.Enum<AllowTrustOperation.TrustLineEntryFlag>
Enum Constant and Description |
---|
AUTHORIZED_FLAG
The account can hold a balance, receive payments, send payments, maintain offers or manage
offers.
|
AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
The account can hold a balance and maintain offers but cannot receive payments, send payments
or manage offers.
|
UNAUTHORIZED_FLAG
The account can hold a balance but cannot receive payments, send payments, maintain offers or
manage offers.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static AllowTrustOperation.TrustLineEntryFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AllowTrustOperation.TrustLineEntryFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AllowTrustOperation.TrustLineEntryFlag UNAUTHORIZED_FLAG
public static final AllowTrustOperation.TrustLineEntryFlag AUTHORIZED_FLAG
public static final AllowTrustOperation.TrustLineEntryFlag AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG
public static AllowTrustOperation.TrustLineEntryFlag[] values()
for (AllowTrustOperation.TrustLineEntryFlag c : AllowTrustOperation.TrustLineEntryFlag.values()) System.out.println(c);
public static AllowTrustOperation.TrustLineEntryFlag 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()