Package co.dapi.types
Enum Identification.IdentificationType
- java.lang.Object
-
- java.lang.Enum<Identification.IdentificationType>
-
- co.dapi.types.Identification.IdentificationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Identification.IdentificationType>
- Enclosing class:
- Identification
public static enum Identification.IdentificationType extends java.lang.Enum<Identification.IdentificationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description national_idpassportvisa_number
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Identification.IdentificationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Identification.IdentificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
passport
public static final Identification.IdentificationType passport
-
national_id
public static final Identification.IdentificationType national_id
-
visa_number
public static final Identification.IdentificationType visa_number
-
-
Method Detail
-
values
public static Identification.IdentificationType[] 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 (Identification.IdentificationType c : Identification.IdentificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Identification.IdentificationType 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
-
-