Package com.adyen.model.marketpayaccount
Enum DocumentDetail.DocumentTypeEnum
- java.lang.Object
-
- java.lang.Enum<DocumentDetail.DocumentTypeEnum>
-
- com.adyen.model.marketpayaccount.DocumentDetail.DocumentTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentDetail.DocumentTypeEnum>
- Enclosing class:
- DocumentDetail
public static enum DocumentDetail.DocumentTypeEnum extends Enum<DocumentDetail.DocumentTypeEnum>
The type of the document. Refer to [Verification checks](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-checks) for details on when each document type should be submitted and for the accepted file formats. Permitted values: * **BANK_STATEMENT**: A file containing a bank statement or other document proving ownership of a specific bank account. * **COMPANY_REGISTRATION_SCREENING** (Supported from v5 and later): A file containing a company registration document. * **CONSTITUTIONAL_DOCUMENT**: A file containing information about the account holder's legal arrangement. * **PASSPORT**: A file containing the identity page(s) of a passport. * **ID_CARD_FRONT**: A file containing only the front of the ID card. In order for a document to be usable, both the **ID_CARD_FRONT** and **ID_CARD_BACK** must be submitted. * **ID_CARD_BACK**: A file containing only the back of the ID card. In order for a document to be usable, both the **ID_CARD_FRONT** and **ID_CARD_BACK** must be submitted. * **DRIVING_LICENCE_FRONT**: A file containing only the front of the driving licence. In order for a document to be usable, both the **DRIVING_LICENCE_FRONT** and **DRIVING_LICENCE_BACK** must be submitted. * **DRIVING_LICENCE_BACK**: A file containing only the back of the driving licence. In order for a document to be usable, both the **DRIVING_LICENCE_FRONT** and **DRIVING_LICENCE_FRONT** must be submitted.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANK_STATEMENTBSNCOMPANY_REGISTRATION_SCREENINGCONSTITUTIONAL_DOCUMENTDRIVING_LICENCEDRIVING_LICENCE_BACKDRIVING_LICENCE_FRONTID_CARDID_CARD_BACKID_CARD_FRONTPASSPORTPROOF_OF_RESIDENCYSSNSUPPORTING_DOCUMENTS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentDetail.DocumentTypeEnumfromValue(String value)StringgetValue()StringtoString()static DocumentDetail.DocumentTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentDetail.DocumentTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANK_STATEMENT
public static final DocumentDetail.DocumentTypeEnum BANK_STATEMENT
-
BSN
public static final DocumentDetail.DocumentTypeEnum BSN
-
COMPANY_REGISTRATION_SCREENING
public static final DocumentDetail.DocumentTypeEnum COMPANY_REGISTRATION_SCREENING
-
CONSTITUTIONAL_DOCUMENT
public static final DocumentDetail.DocumentTypeEnum CONSTITUTIONAL_DOCUMENT
-
DRIVING_LICENCE
public static final DocumentDetail.DocumentTypeEnum DRIVING_LICENCE
-
DRIVING_LICENCE_BACK
public static final DocumentDetail.DocumentTypeEnum DRIVING_LICENCE_BACK
-
DRIVING_LICENCE_FRONT
public static final DocumentDetail.DocumentTypeEnum DRIVING_LICENCE_FRONT
-
ID_CARD
public static final DocumentDetail.DocumentTypeEnum ID_CARD
-
ID_CARD_BACK
public static final DocumentDetail.DocumentTypeEnum ID_CARD_BACK
-
ID_CARD_FRONT
public static final DocumentDetail.DocumentTypeEnum ID_CARD_FRONT
-
PASSPORT
public static final DocumentDetail.DocumentTypeEnum PASSPORT
-
PROOF_OF_RESIDENCY
public static final DocumentDetail.DocumentTypeEnum PROOF_OF_RESIDENCY
-
SSN
public static final DocumentDetail.DocumentTypeEnum SSN
-
SUPPORTING_DOCUMENTS
public static final DocumentDetail.DocumentTypeEnum SUPPORTING_DOCUMENTS
-
-
Method Detail
-
values
public static DocumentDetail.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 (DocumentDetail.DocumentTypeEnum c : DocumentDetail.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 DocumentDetail.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<DocumentDetail.DocumentTypeEnum>
-
fromValue
public static DocumentDetail.DocumentTypeEnum fromValue(String value)
-
-