Package io.scanbot.sdk.documentdata
Class DocumentVerificationReport
- java.lang.Object
-
- io.scanbot.sdk.documentdata.DocumentVerificationReport
-
public class DocumentVerificationReport extends java.lang.ObjectReport of the document verification.
-
-
Constructor Summary
Constructors Constructor Description DocumentVerificationReport(DocumentVerificationStatus overallVerificationStatus, ConsistencyVerificationReport consistencyVerificationReport, SemanticsVerificationReport semanticsVerificationReport, SuspiciousDataVerificationReport suspiciousDataVerificationReport, InvalidDataVerificationReport invalidDataVerificationReport)Constructs DocumentVerificationReport with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsistencyVerificationReportgetConsistencyVerificationReport()Getter for consistencyVerificationReport field.InvalidDataVerificationReportgetInvalidDataVerificationReport()Getter for invalidDataVerificationReport field.DocumentVerificationStatusgetOverallVerificationStatus()Getter for overallVerificationStatus field.SemanticsVerificationReportgetSemanticsVerificationReport()Getter for semanticsVerificationReport field.SuspiciousDataVerificationReportgetSuspiciousDataVerificationReport()Getter for suspiciousDataVerificationReport field.
-
-
-
Constructor Detail
-
DocumentVerificationReport
public DocumentVerificationReport(DocumentVerificationStatus overallVerificationStatus, ConsistencyVerificationReport consistencyVerificationReport, SemanticsVerificationReport semanticsVerificationReport, SuspiciousDataVerificationReport suspiciousDataVerificationReport, InvalidDataVerificationReport invalidDataVerificationReport)
Constructs DocumentVerificationReport with the given params.- Parameters:
overallVerificationStatus- Overall status of the document verification.consistencyVerificationReport- Report of the document consistency verification. Shows whether information in the fields that correspond to the same logical field and is present in different parts of the document is consistent.semanticsVerificationReport- Report of the semantics verification. Shows whether the values in the fields are semantically correct.suspiciousDataVerificationReport- Shows whether the data in the document is suspicious, e.g. contains word "Sample" in the name.invalidDataVerificationReport- Some fields in the documents allow validation, for example, MRZ contains check digits to verify the data. This report shows whether there are any invalid fields in the document.
-
-
Method Detail
-
getOverallVerificationStatus
public DocumentVerificationStatus getOverallVerificationStatus()
Getter for overallVerificationStatus field. See constructor documentation for more information about the field.- Returns:
- overallVerificationStatus
-
getConsistencyVerificationReport
public ConsistencyVerificationReport getConsistencyVerificationReport()
Getter for consistencyVerificationReport field. See constructor documentation for more information about the field.- Returns:
- consistencyVerificationReport
-
getSemanticsVerificationReport
public SemanticsVerificationReport getSemanticsVerificationReport()
Getter for semanticsVerificationReport field. See constructor documentation for more information about the field.- Returns:
- semanticsVerificationReport
-
getSuspiciousDataVerificationReport
public SuspiciousDataVerificationReport getSuspiciousDataVerificationReport()
Getter for suspiciousDataVerificationReport field. See constructor documentation for more information about the field.- Returns:
- suspiciousDataVerificationReport
-
getInvalidDataVerificationReport
public InvalidDataVerificationReport getInvalidDataVerificationReport()
Getter for invalidDataVerificationReport field. See constructor documentation for more information about the field.- Returns:
- invalidDataVerificationReport
-
-