Package com.onfido.model
Enum ProofOfAddressProperties.DocumentTypeEnum
- java.lang.Object
-
- java.lang.Enum<ProofOfAddressProperties.DocumentTypeEnum>
-
- com.onfido.model.ProofOfAddressProperties.DocumentTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ProofOfAddressProperties.DocumentTypeEnum>
- Enclosing class:
- ProofOfAddressProperties
public static enum ProofOfAddressProperties.DocumentTypeEnum extends Enum<ProofOfAddressProperties.DocumentTypeEnum>
This property provides the document type according to the set of supported documents.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProofOfAddressProperties.DocumentTypeEnum.Adapter
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProofOfAddressProperties.DocumentTypeEnumfromValue(String value)StringgetValue()StringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)static ProofOfAddressProperties.DocumentTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ProofOfAddressProperties.DocumentTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANK_BUILDING_SOCIETY_STATEMENT
public static final ProofOfAddressProperties.DocumentTypeEnum BANK_BUILDING_SOCIETY_STATEMENT
-
UTILITY_BILL
public static final ProofOfAddressProperties.DocumentTypeEnum UTILITY_BILL
-
COUNCIL_TAX
public static final ProofOfAddressProperties.DocumentTypeEnum COUNCIL_TAX
-
BENEFIT_LETTERS
public static final ProofOfAddressProperties.DocumentTypeEnum BENEFIT_LETTERS
-
MORTGAGE_STATEMENT
public static final ProofOfAddressProperties.DocumentTypeEnum MORTGAGE_STATEMENT
-
MOBILE_PHONE_BILL
public static final ProofOfAddressProperties.DocumentTypeEnum MOBILE_PHONE_BILL
-
GENERAL_LETTER
public static final ProofOfAddressProperties.DocumentTypeEnum GENERAL_LETTER
-
INSURANCE_STATEMENT
public static final ProofOfAddressProperties.DocumentTypeEnum INSURANCE_STATEMENT
-
PENSION_PROPERTY_STATEMENT_LETTER
public static final ProofOfAddressProperties.DocumentTypeEnum PENSION_PROPERTY_STATEMENT_LETTER
-
IDENTITY_DOCUMENT_WITH_ADDRESS
public static final ProofOfAddressProperties.DocumentTypeEnum IDENTITY_DOCUMENT_WITH_ADDRESS
-
EXCHANGE_HOUSE_STATEMENT
public static final ProofOfAddressProperties.DocumentTypeEnum EXCHANGE_HOUSE_STATEMENT
-
UNKNOWN_DEFAULT_OPEN_API
public static final ProofOfAddressProperties.DocumentTypeEnum UNKNOWN_DEFAULT_OPEN_API
-
-
Method Detail
-
values
public static ProofOfAddressProperties.DocumentTypeEnum[] 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 (ProofOfAddressProperties.DocumentTypeEnum c : ProofOfAddressProperties.DocumentTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProofOfAddressProperties.DocumentTypeEnum 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<ProofOfAddressProperties.DocumentTypeEnum>
-
fromValue
public static ProofOfAddressProperties.DocumentTypeEnum fromValue(String value)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException- Throws:
IOException
-
-