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.28.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(CIPResult ageValidation) comprisedDocument(CIPResult comprisedDocument) createdAt(OffsetDateTime createdAt) dataComparison(CIPResult 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.Get ageValidationGet comprisedDocumentDatetime for when this check was doneGet dataComparisonjson 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 checkGet imageIntegrityjson 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 documentGet policeRecordGet resultGet statusjson object representing the various sub-checks done when determining whether visual (non-textual) elements are correct given the document type.inthashCode()imageIntegrity(CIPResult imageIntegrity) imageIntegrityBreakdown(String imageIntegrityBreakdown) issuingCountry(String issuingCountry) nationality(String nationality) policeRecord(CIPStatus policeRecord) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAgeValidation(CIPResult ageValidation) voidsetComprisedDocument(CIPResult comprisedDocument) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDataComparison(CIPResult dataComparison) voidsetDataComparisonBreakdown(String dataComparisonBreakdown) voidsetDateOfBirth(LocalDate dateOfBirth) voidsetDateOfExpiry(LocalDate dateOfExpiry) voidsetDocumentNumbers(List<String> documentNumbers) voidsetDocumentType(String documentType) voidsetFirstName(String firstName) voidvoidvoidsetImageIntegrity(CIPResult imageIntegrity) voidsetImageIntegrityBreakdown(String imageIntegrityBreakdown) voidsetIssuingCountry(String issuingCountry) voidsetLastName(String lastName) voidsetNationality(String nationality) voidsetPoliceRecord(CIPStatus 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
Get ageValidation- Returns:
- ageValidation
-
setAgeValidation
-
comprisedDocument
-
getComprisedDocument
Get comprisedDocument- Returns:
- comprisedDocument
-
setComprisedDocument
-
createdAt
-
getCreatedAt
Datetime for when this check was done- Returns:
- createdAt
-
setCreatedAt
-
dataComparison
-
getDataComparison
Get dataComparison- 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
Get imageIntegrity- 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
Get policeRecord- Returns:
- policeRecord
-
setPoliceRecord
-
result
-
getResult
Get result- Returns:
- result
-
setResult
-
status
-
getStatus
Get status- 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
-