Enum Document.TypeEnum
- java.lang.Object
-
- java.lang.Enum<Document.TypeEnum>
-
- com.adyen.model.legalentitymanagement.Document.TypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Document.TypeEnum>
- Enclosing class:
- Document
public static enum Document.TypeEnum extends Enum<Document.TypeEnum>
Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Document.TypeEnumfromValue(String value)StringgetValue()StringtoString()static Document.TypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Document.TypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANKSTATEMENT
public static final Document.TypeEnum BANKSTATEMENT
-
DRIVERSLICENSE
public static final Document.TypeEnum DRIVERSLICENSE
-
IDENTITYCARD
public static final Document.TypeEnum IDENTITYCARD
-
NATIONALIDNUMBER
public static final Document.TypeEnum NATIONALIDNUMBER
-
PASSPORT
public static final Document.TypeEnum PASSPORT
-
PROOFOFADDRESS
public static final Document.TypeEnum PROOFOFADDRESS
-
PROOFOFNATIONALIDNUMBER
public static final Document.TypeEnum PROOFOFNATIONALIDNUMBER
-
PROOFOFRESIDENCY
public static final Document.TypeEnum PROOFOFRESIDENCY
-
REGISTRATIONDOCUMENT
public static final Document.TypeEnum REGISTRATIONDOCUMENT
-
VATDOCUMENT
public static final Document.TypeEnum VATDOCUMENT
-
PROOFOFORGANIZATIONTAXINFO
public static final Document.TypeEnum PROOFOFORGANIZATIONTAXINFO
-
PROOFOFINDIVIDUALTAXID
public static final Document.TypeEnum PROOFOFINDIVIDUALTAXID
-
PROOFOFOWNERSHIP
public static final Document.TypeEnum PROOFOFOWNERSHIP
-
PROOFOFSIGNATORY
public static final Document.TypeEnum PROOFOFSIGNATORY
-
LIVESELFIE
public static final Document.TypeEnum LIVESELFIE
-
PROOFOFINDUSTRY
public static final Document.TypeEnum PROOFOFINDUSTRY
-
CONSTITUTIONALDOCUMENT
public static final Document.TypeEnum CONSTITUTIONALDOCUMENT
-
PROOFOFFUNDINGORWEALTHSOURCE
public static final Document.TypeEnum PROOFOFFUNDINGORWEALTHSOURCE
-
-
Method Detail
-
values
public static Document.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 (Document.TypeEnum c : Document.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 Document.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<Document.TypeEnum>
-
fromValue
public static Document.TypeEnum fromValue(String value)
-
-