Class CIPDocument
java.lang.Object
markets.alpaca.client.openapi.broker.model.CIPDocument
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CIPDocument
extends Object
implements Serializable
Represents results of checking a document for CIPInfo
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDocumentNumbersItem(String documentNumbersItem) ageValidation(String ageValidation) comprisedDocument(String comprisedDocument) createdAt(OffsetDateTime createdAt) dataComparison(String dataComparison) dataComparisonBreakdown(String dataComparisonBreakdown) dateOfBirth(LocalDate dateOfBirth) dateOfExpiry(LocalDate dateOfExpiry) documentNumbers(List<String> documentNumbers) documentType(String documentType) booleanstatic CIPDocumentCreate an instance of CIPDocument given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The result of the check.The result of the check.Datetime for when this check was doneThe result of the check.json object representing the results of the various sub-checks done when calculating the result on `data_comparison`.Datetime for when this check was doneDatetime for when this check was doneNumber of the document that was checkedType of the document that was checkedFirst name extracted from the documentGender info extracted from the documentgetId()Your internal ID of checkThe result of the check.json object representing the results of the various sub-checks done when calculating the result on `image_integrity`.Country for which issued the documentLast name extracted from the documentNationality extracted from the documentAn enum representing the status of the CIPInfo \"complete\" \"withdrawn\"The result of the check.An enum representing the status of the CIPInfo \"complete\" \"withdrawn\"json object representing the various sub-checks done when determining whether visual (non-textual) elements are correct given the document type.inthashCode()imageIntegrity(String imageIntegrity) imageIntegrityBreakdown(String imageIntegrityBreakdown) issuingCountry(String issuingCountry) nationality(String nationality) policeRecord(String policeRecord) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAgeValidation(String ageValidation) voidsetComprisedDocument(String comprisedDocument) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDataComparison(String dataComparison) voidsetDataComparisonBreakdown(String dataComparisonBreakdown) voidsetDateOfBirth(LocalDate dateOfBirth) voidsetDateOfExpiry(LocalDate dateOfExpiry) voidsetDocumentNumbers(List<String> documentNumbers) voidsetDocumentType(String documentType) voidsetFirstName(String firstName) voidvoidvoidsetImageIntegrity(String imageIntegrity) voidsetImageIntegrityBreakdown(String imageIntegrityBreakdown) voidsetIssuingCountry(String issuingCountry) voidsetLastName(String lastName) voidsetNationality(String nationality) voidsetPoliceRecord(String policeRecord) voidvoidvoidsetVisualAuthenticity(String visualAuthenticity) toJson()Convert an instance of CIPDocument to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundvisualAuthenticity(String visualAuthenticity)
-
Field Details
-
SERIALIZED_NAME_AGE_VALIDATION
- See Also:
-
SERIALIZED_NAME_COMPRISED_DOCUMENT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DATA_COMPARISON
- See Also:
-
SERIALIZED_NAME_DATA_COMPARISON_BREAKDOWN
- See Also:
-
SERIALIZED_NAME_DATE_OF_BIRTH
- See Also:
-
SERIALIZED_NAME_DATE_OF_EXPIRY
- See Also:
-
SERIALIZED_NAME_DOCUMENT_NUMBERS
- See Also:
-
SERIALIZED_NAME_DOCUMENT_TYPE
- See Also:
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_GENDER
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_IMAGE_INTEGRITY
- See Also:
-
SERIALIZED_NAME_IMAGE_INTEGRITY_BREAKDOWN
- See Also:
-
SERIALIZED_NAME_ISSUING_COUNTRY
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_NATIONALITY
- See Also:
-
SERIALIZED_NAME_POLICE_RECORD
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_VISUAL_AUTHENTICITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CIPDocument
public CIPDocument()
-
-
Method Details
-
ageValidation
-
getAgeValidation
The result of the check. Either `clear` or `consider`.- Returns:
- ageValidation
-
setAgeValidation
-
comprisedDocument
-
getComprisedDocument
The result of the check. Either `clear` or `consider`.- Returns:
- comprisedDocument
-
setComprisedDocument
-
createdAt
-
getCreatedAt
Datetime for when this check was done- Returns:
- createdAt
-
setCreatedAt
-
dataComparison
-
getDataComparison
The result of the check. Either `clear` or `consider`.- Returns:
- dataComparison
-
setDataComparison
-
dataComparisonBreakdown
-
getDataComparisonBreakdown
json object representing the results of the various sub-checks done when calculating the result on `data_comparison`. Example: {\"date_of_birth\": \"clear\", \"date_of_expiry\": \"clear\" \"document_numbers\": \"clear\", \"document_type\": \"clear\", \"first_name\": \"clear\", \"gender\": \"clear\", \"issuing_country\": \"clear\", \"last_name\": \"clear\"}- Returns:
- dataComparisonBreakdown
-
setDataComparisonBreakdown
-
dateOfBirth
-
getDateOfBirth
Datetime for when this check was done- Returns:
- dateOfBirth
-
setDateOfBirth
-
dateOfExpiry
-
getDateOfExpiry
Datetime for when this check was done- Returns:
- dateOfExpiry
-
setDateOfExpiry
-
documentNumbers
-
addDocumentNumbersItem
-
getDocumentNumbers
Number of the document that was checked- Returns:
- documentNumbers
-
setDocumentNumbers
-
documentType
-
getDocumentType
Type of the document that was checked- Returns:
- documentType
-
setDocumentType
-
firstName
-
getFirstName
First name extracted from the document- Returns:
- firstName
-
setFirstName
-
gender
-
getGender
Gender info extracted from the document- Returns:
- gender
-
setGender
-
id
-
getId
Your internal ID of check- Returns:
- id
-
setId
-
imageIntegrity
-
getImageIntegrity
The result of the check. Either `clear` or `consider`.- Returns:
- imageIntegrity
-
setImageIntegrity
-
imageIntegrityBreakdown
-
getImageIntegrityBreakdown
json object representing the results of the various sub-checks done when calculating the result on `image_integrity`. Example: example: {\"colour_picture\": \"clear\", \"conclusive_document_quality\": \"clear\", \"image_quality\": \"clear\", \"supported_document\": \"clear\"}- Returns:
- imageIntegrityBreakdown
-
setImageIntegrityBreakdown
-
issuingCountry
-
getIssuingCountry
Country for which issued the document- Returns:
- issuingCountry
-
setIssuingCountry
-
lastName
-
getLastName
Last name extracted from the document- Returns:
- lastName
-
setLastName
-
nationality
-
getNationality
Nationality extracted from the document- Returns:
- nationality
-
setNationality
-
policeRecord
-
getPoliceRecord
An enum representing the status of the CIPInfo \"complete\" \"withdrawn\"- Returns:
- policeRecord
-
setPoliceRecord
-
result
-
getResult
The result of the check. Either `clear` or `consider`.- Returns:
- result
-
setResult
-
status
-
getStatus
An enum representing the status of the CIPInfo \"complete\" \"withdrawn\"- Returns:
- status
-
setStatus
-
visualAuthenticity
-
getVisualAuthenticity
json object representing the various sub-checks done when determining whether visual (non-textual) elements are correct given the document type. Example: { \"digital_tampering\": \"clear\", \"face_detection\": \"clear\", \"fonts\": \"clear\", \"original_document_present\": \"clear\", \"picture_face_integrity\": \"clear\", \"security_features\": \"clear\", \"template\": \"clear\"}- Returns:
- visualAuthenticity
-
setVisualAuthenticity
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the CIPDocument instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to CIPDocument
-
fromJson
Create an instance of CIPDocument given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CIPDocument
- Throws:
IOException- if the JSON string is invalid with respect to CIPDocument
-
toJson
Convert an instance of CIPDocument to an JSON string- Returns:
- JSON string
-