Package com.onfido.model
Class DocumentCDQReasons
- java.lang.Object
-
- com.onfido.model.DocumentCDQReasons
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.9.0") public class DocumentCDQReasons extends Object
DocumentCDQReasons
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentCDQReasons.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ABNORMAL_DOCUMENT_FEATURESstatic StringSERIALIZED_NAME_CORNER_REMOVEDstatic StringSERIALIZED_NAME_DIGITAL_DOCUMENTstatic StringSERIALIZED_NAME_MISSING_BACKstatic StringSERIALIZED_NAME_OBSCURED_DATA_POINTSstatic StringSERIALIZED_NAME_OBSCURED_SECURITY_FEATURESstatic StringSERIALIZED_NAME_PUNCTURED_DOCUMENTstatic StringSERIALIZED_NAME_WATERMARKS_DIGITAL_TEXT_OVERLAY
-
Constructor Summary
Constructors Constructor Description DocumentCDQReasons()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentCDQReasonsabnormalDocumentFeatures(String abnormalDocumentFeatures)DocumentCDQReasonscornerRemoved(String cornerRemoved)DocumentCDQReasonsdigitalDocument(String digitalDocument)booleanequals(Object o)static DocumentCDQReasonsfromJson(String jsonString)Create an instance of DocumentCDQReasons given an JSON stringStringgetAbnormalDocumentFeatures()One of 3 reasons (1) OCR Assisted Scans (i.e.Map<String,Object>getAdditionalProperties()Return the additional (undeclared) property.ObjectgetAdditionalProperty(String key)Return the additional (undeclared) property with the specified name.StringgetCornerRemoved()If the corner has been physically cut off.StringgetDigitalDocument()When a document has been published digitally, there aren't enough security features to review so we cannot perform a full fraud assessment.StringgetMissingBack()When the back of a document is needed for processing, but is not available.StringgetObscuredDataPoints()When data points are obscured to the point that we cannot confirm if the fonts match the expected ones.StringgetObscuredSecurityFeatures()When a critical security feature is obscured.StringgetPuncturedDocument()A punched hole is present.StringgetWatermarksDigitalTextOverlay()Any digital text or electronic watermarks on the document.inthashCode()DocumentCDQReasonsmissingBack(String missingBack)DocumentCDQReasonsobscuredDataPoints(String obscuredDataPoints)DocumentCDQReasonsobscuredSecurityFeatures(String obscuredSecurityFeatures)DocumentCDQReasonspuncturedDocument(String puncturedDocument)DocumentCDQReasonsputAdditionalProperty(String key, Object value)Set the additional (undeclared) property with the specified name and value.voidsetAbnormalDocumentFeatures(String abnormalDocumentFeatures)voidsetCornerRemoved(String cornerRemoved)voidsetDigitalDocument(String digitalDocument)voidsetMissingBack(String missingBack)voidsetObscuredDataPoints(String obscuredDataPoints)voidsetObscuredSecurityFeatures(String obscuredSecurityFeatures)voidsetPuncturedDocument(String puncturedDocument)voidsetWatermarksDigitalTextOverlay(String watermarksDigitalTextOverlay)StringtoJson()Convert an instance of DocumentCDQReasons to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundDocumentCDQReasonswatermarksDigitalTextOverlay(String watermarksDigitalTextOverlay)
-
-
-
Field Detail
-
SERIALIZED_NAME_OBSCURED_DATA_POINTS
public static final String SERIALIZED_NAME_OBSCURED_DATA_POINTS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OBSCURED_SECURITY_FEATURES
public static final String SERIALIZED_NAME_OBSCURED_SECURITY_FEATURES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ABNORMAL_DOCUMENT_FEATURES
public static final String SERIALIZED_NAME_ABNORMAL_DOCUMENT_FEATURES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WATERMARKS_DIGITAL_TEXT_OVERLAY
public static final String SERIALIZED_NAME_WATERMARKS_DIGITAL_TEXT_OVERLAY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_CORNER_REMOVED
public static final String SERIALIZED_NAME_CORNER_REMOVED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PUNCTURED_DOCUMENT
public static final String SERIALIZED_NAME_PUNCTURED_DOCUMENT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MISSING_BACK
public static final String SERIALIZED_NAME_MISSING_BACK
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DIGITAL_DOCUMENT
public static final String SERIALIZED_NAME_DIGITAL_DOCUMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
obscuredDataPoints
public DocumentCDQReasons obscuredDataPoints(String obscuredDataPoints)
-
getObscuredDataPoints
@Nullable public String getObscuredDataPoints()
When data points are obscured to the point that we cannot confirm if the fonts match the expected ones.- Returns:
- obscuredDataPoints
-
setObscuredDataPoints
public void setObscuredDataPoints(String obscuredDataPoints)
-
obscuredSecurityFeatures
public DocumentCDQReasons obscuredSecurityFeatures(String obscuredSecurityFeatures)
-
getObscuredSecurityFeatures
@Nullable public String getObscuredSecurityFeatures()
When a critical security feature is obscured. This can also refer to when the holder's wet signature, necessary for the document to be valid, is not present.- Returns:
- obscuredSecurityFeatures
-
setObscuredSecurityFeatures
public void setObscuredSecurityFeatures(String obscuredSecurityFeatures)
-
abnormalDocumentFeatures
public DocumentCDQReasons abnormalDocumentFeatures(String abnormalDocumentFeatures)
-
getAbnormalDocumentFeatures
@Nullable public String getAbnormalDocumentFeatures()
One of 3 reasons (1) OCR Assisted Scans (i.e. when you're able to move the mouse and highlight part of text), (2) Severely Washed out Background, (3) Overlapping Text.- Returns:
- abnormalDocumentFeatures
-
setAbnormalDocumentFeatures
public void setAbnormalDocumentFeatures(String abnormalDocumentFeatures)
-
watermarksDigitalTextOverlay
public DocumentCDQReasons watermarksDigitalTextOverlay(String watermarksDigitalTextOverlay)
-
getWatermarksDigitalTextOverlay
@Nullable public String getWatermarksDigitalTextOverlay()
Any digital text or electronic watermarks on the document.- Returns:
- watermarksDigitalTextOverlay
-
setWatermarksDigitalTextOverlay
public void setWatermarksDigitalTextOverlay(String watermarksDigitalTextOverlay)
-
cornerRemoved
public DocumentCDQReasons cornerRemoved(String cornerRemoved)
-
getCornerRemoved
@Nullable public String getCornerRemoved()
If the corner has been physically cut off. This can be found on some documents that are no longer valid.- Returns:
- cornerRemoved
-
setCornerRemoved
public void setCornerRemoved(String cornerRemoved)
-
puncturedDocument
public DocumentCDQReasons puncturedDocument(String puncturedDocument)
-
getPuncturedDocument
@Nullable public String getPuncturedDocument()
A punched hole is present.- Returns:
- puncturedDocument
-
setPuncturedDocument
public void setPuncturedDocument(String puncturedDocument)
-
missingBack
public DocumentCDQReasons missingBack(String missingBack)
-
getMissingBack
@Nullable public String getMissingBack()
When the back of a document is needed for processing, but is not available.- Returns:
- missingBack
-
setMissingBack
public void setMissingBack(String missingBack)
-
digitalDocument
public DocumentCDQReasons digitalDocument(String digitalDocument)
-
getDigitalDocument
@Nullable public String getDigitalDocument()
When a document has been published digitally, there aren't enough security features to review so we cannot perform a full fraud assessment.- Returns:
- digitalDocument
-
setDigitalDocument
public void setDigitalDocument(String digitalDocument)
-
putAdditionalProperty
public DocumentCDQReasons putAdditionalProperty(String key, Object value)
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 DocumentCDQReasons instance itself
-
getAdditionalProperties
public Map<String,Object> getAdditionalProperties()
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
public Object getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates 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 DocumentCDQReasons
-
fromJson
public static DocumentCDQReasons fromJson(String jsonString) throws IOException
Create an instance of DocumentCDQReasons given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DocumentCDQReasons
- Throws:
IOException- if the JSON string is invalid with respect to DocumentCDQReasons
-
toJson
public String toJson()
Convert an instance of DocumentCDQReasons to an JSON string- Returns:
- JSON string
-
-