public static enum TokenCreateParams.Account.BusinessType extends java.lang.Enum<TokenCreateParams.Account.BusinessType> implements ApiRequestParams.EnumParam
| Enum Constant and Description |
|---|
COMPANY |
GOVERNMENT_ENTITY |
INDIVIDUAL |
NON_PROFIT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue() |
static TokenCreateParams.Account.BusinessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TokenCreateParams.Account.BusinessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="company") public static final TokenCreateParams.Account.BusinessType COMPANY
@SerializedName(value="government_entity") public static final TokenCreateParams.Account.BusinessType GOVERNMENT_ENTITY
@SerializedName(value="individual") public static final TokenCreateParams.Account.BusinessType INDIVIDUAL
@SerializedName(value="non_profit") public static final TokenCreateParams.Account.BusinessType NON_PROFIT
public static TokenCreateParams.Account.BusinessType[] values()
for (TokenCreateParams.Account.BusinessType c : TokenCreateParams.Account.BusinessType.values()) System.out.println(c);
public static TokenCreateParams.Account.BusinessType 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 java.lang.String getValue()
getValue in interface ApiRequestParams.EnumParam