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