Enum PostIdentificationNumberBankModel.TypeEnum
- java.lang.Object
-
- java.lang.Enum<PostIdentificationNumberBankModel.TypeEnum>
-
- app.cybrid.cybrid_api_bank.client.model.PostIdentificationNumberBankModel.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<PostIdentificationNumberBankModel.TypeEnum>
- Enclosing class:
- PostIdentificationNumberBankModel
public static enum PostIdentificationNumberBankModel.TypeEnum extends Enum<PostIdentificationNumberBankModel.TypeEnum>
The source of the identification number.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DRIVERS_LICENSEPASSPORTPASSPORT_CARDRESIDENCE_CARDSOCIAL_SECURITY_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PostIdentificationNumberBankModel.TypeEnumfromValue(String value)StringgetValue()StringtoString()static PostIdentificationNumberBankModel.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static PostIdentificationNumberBankModel.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRIVERS_LICENSE
public static final PostIdentificationNumberBankModel.TypeEnum DRIVERS_LICENSE
-
PASSPORT
public static final PostIdentificationNumberBankModel.TypeEnum PASSPORT
-
PASSPORT_CARD
public static final PostIdentificationNumberBankModel.TypeEnum PASSPORT_CARD
-
RESIDENCE_CARD
public static final PostIdentificationNumberBankModel.TypeEnum RESIDENCE_CARD
-
SOCIAL_SECURITY_NUMBER
public static final PostIdentificationNumberBankModel.TypeEnum SOCIAL_SECURITY_NUMBER
-
-
Method Detail
-
values
public static PostIdentificationNumberBankModel.TypeEnum[] 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 (PostIdentificationNumberBankModel.TypeEnum c : PostIdentificationNumberBankModel.TypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PostIdentificationNumberBankModel.TypeEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<PostIdentificationNumberBankModel.TypeEnum>
-
fromValue
public static PostIdentificationNumberBankModel.TypeEnum fromValue(String value)
-
-