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