Package com.stripe.param
Enum Class AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity
java.lang.Object
java.lang.Enum<AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity>
com.stripe.param.AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,Serializable
,Comparable<AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity>
,Constable
- Enclosing class:
- AccountPersonCreateParams.UsCfpbData.EthnicityDetails
public static enum AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity
extends Enum<AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity>
implements ApiRequestParams.EnumParam
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
CUBAN
@SerializedName("cuban") public static final AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity CUBAN -
HISPANIC_OR_LATINO
@SerializedName("hispanic_or_latino") public static final AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity HISPANIC_OR_LATINO -
MEXICAN
@SerializedName("mexican") public static final AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity MEXICAN -
NOT_HISPANIC_OR_LATINO
@SerializedName("not_hispanic_or_latino") public static final AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity NOT_HISPANIC_OR_LATINO -
OTHER_HISPANIC_OR_LATINO
@SerializedName("other_hispanic_or_latino") public static final AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity OTHER_HISPANIC_OR_LATINO -
PREFER_NOT_TO_ANSWER
@SerializedName("prefer_not_to_answer") public static final AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity PREFER_NOT_TO_ANSWER -
PUERTO_RICAN
@SerializedName("puerto_rican") public static final AccountPersonCreateParams.UsCfpbData.EthnicityDetails.Ethnicity PUERTO_RICAN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-