Class Document
-
- All Implemented Interfaces:
public final class DocumentDescribes the document and the required document image uploads required to re-run KYC
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classDocument.BuilderA builder for Document.
public final classDocument.DocumentTypeType of documentation to be submitted for verification of an account holder
public final classDocument.RequiredDocumentUploadRepresents a single image of the document to upload.
-
Method Summary
Modifier and Type Method Description final Stringtoken()Globally unique identifier for the document. final StringaccountHolderToken()Globally unique identifier for the account holder. final Document.DocumentTypedocumentType()Type of documentation to be submitted for verification of an account holder final StringentityToken()Globally unique identifier for an entity. final List<Document.RequiredDocumentUpload>requiredDocumentUploads()Represents a single image of the document to upload. final JsonField<String>_token()Returns the raw JSON value of token. final JsonField<String>_accountHolderToken()Returns the raw JSON value of accountHolderToken. final JsonField<Document.DocumentType>_documentType()Returns the raw JSON value of documentType. final JsonField<String>_entityToken()Returns the raw JSON value of entityToken. final JsonField<List<Document.RequiredDocumentUpload>>_requiredDocumentUploads()Returns the raw JSON value of requiredDocumentUploads. final Map<String, JsonValue>_additionalProperties()final Document.BuildertoBuilder()final Documentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static Document.Builderbuilder()Returns a mutable builder for constructing an instance of Document. -
-
Method Detail
-
accountHolderToken
final String accountHolderToken()
Globally unique identifier for the account holder.
-
documentType
final Document.DocumentType documentType()
Type of documentation to be submitted for verification of an account holder
-
entityToken
final String entityToken()
Globally unique identifier for an entity.
-
requiredDocumentUploads
final List<Document.RequiredDocumentUpload> requiredDocumentUploads()
Represents a single image of the document to upload.
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_accountHolderToken
final JsonField<String> _accountHolderToken()
Returns the raw JSON value of accountHolderToken.
Unlike accountHolderToken, this method doesn't throw if the JSON field has an unexpected type.
-
_documentType
final JsonField<Document.DocumentType> _documentType()
Returns the raw JSON value of documentType.
Unlike documentType, this method doesn't throw if the JSON field has an unexpected type.
-
_entityToken
final JsonField<String> _entityToken()
Returns the raw JSON value of entityToken.
Unlike entityToken, this method doesn't throw if the JSON field has an unexpected type.
-
_requiredDocumentUploads
final JsonField<List<Document.RequiredDocumentUpload>> _requiredDocumentUploads()
Returns the raw JSON value of requiredDocumentUploads.
Unlike requiredDocumentUploads, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final Document.Builder toBuilder()
-
builder
final static Document.Builder builder()
Returns a mutable builder for constructing an instance of Document.
The following fields are required:
.token() .accountHolderToken() .documentType() .entityToken() .requiredDocumentUploads()
-
-
-
-