Package com.stripe.param.identity
Enum VerificationSessionCreateParams.Type
- java.lang.Object
-
- java.lang.Enum<VerificationSessionCreateParams.Type>
-
- com.stripe.param.identity.VerificationSessionCreateParams.Type
-
- All Implemented Interfaces:
ApiRequestParams.EnumParam
,java.io.Serializable
,java.lang.Comparable<VerificationSessionCreateParams.Type>
- Enclosing class:
- VerificationSessionCreateParams
public static enum VerificationSessionCreateParams.Type extends java.lang.Enum<VerificationSessionCreateParams.Type> implements ApiRequestParams.EnumParam
Capture a face image and perform a selfie check comparing a photo ID and a picture of your user’s face. Learn more.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
static VerificationSessionCreateParams.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static VerificationSessionCreateParams.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOCUMENT
@SerializedName("document") public static final VerificationSessionCreateParams.Type DOCUMENT
-
ID_NUMBER
@SerializedName("id_number") public static final VerificationSessionCreateParams.Type ID_NUMBER
-
-
Method Detail
-
values
public static VerificationSessionCreateParams.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VerificationSessionCreateParams.Type c : VerificationSessionCreateParams.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerificationSessionCreateParams.Type valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceApiRequestParams.EnumParam
-
-