Package io.scanbot.sdk.documentdata
Class SemanticsVerificationReport
java.lang.Object
io.scanbot.sdk.documentdata.SemanticsVerificationReport
Report of the document value semantics verification.
-
Constructor Summary
ConstructorsConstructorDescriptionSemanticsVerificationReport(boolean overallInvalidSemantics, CompositeFieldValueSemantics expiryDateSemantics, CompositeFieldValueSemantics issueDateSemantics, CompositeFieldValueSemantics birthDateSemantics, ValueSemantics issueDateBeforeExpiryDate, ValueSemantics birthDateBeforeIssueDate, ValueSemantics birthDateBeforeExpiryDate) Constructs SemanticsVerificationReport with the given params. -
Method Summary
Modifier and TypeMethodDescriptionGetter for birthDateBeforeExpiryDate field.Getter for birthDateBeforeIssueDate field.Getter for birthDateSemantics field.Getter for expiryDateSemantics field.Getter for issueDateBeforeExpiryDate field.Getter for issueDateSemantics field.booleanGetter for overallInvalidSemantics field.
-
Constructor Details
-
SemanticsVerificationReport
public SemanticsVerificationReport(boolean overallInvalidSemantics, CompositeFieldValueSemantics expiryDateSemantics, CompositeFieldValueSemantics issueDateSemantics, CompositeFieldValueSemantics birthDateSemantics, ValueSemantics issueDateBeforeExpiryDate, ValueSemantics birthDateBeforeIssueDate, ValueSemantics birthDateBeforeExpiryDate) Constructs SemanticsVerificationReport with the given params.- Parameters:
overallInvalidSemantics- Overall status of the value semantics verification. Corresponds to the most severe status of all fields, i.e. if at least one field is semantically incorrect, the overall status is semantically incorrect. If some verifications are skipped, they do not impact the overall status.expiryDateSemantics- Status of the expiry date semantics verification. Shows whether the expiry date in the document is in the future.issueDateSemantics- Status of the issue date semantics verification. Shows whether the issue date in the document is in the past.birthDateSemantics- Status of the birth date semantics verification. Shows whether the birth date in the document is in the past.issueDateBeforeExpiryDate- Result of verification whether the issue date is before the expiry date.birthDateBeforeIssueDate- Result of verification whether the birth date is before the issue date.birthDateBeforeExpiryDate- Result of verification whether the birth date is before the expiry date.
-
-
Method Details
-
getOverallInvalidSemantics
public boolean getOverallInvalidSemantics()Getter for overallInvalidSemantics field. See constructor documentation for more information about the field.- Returns:
- overallInvalidSemantics
-
getExpiryDateSemantics
Getter for expiryDateSemantics field. See constructor documentation for more information about the field.- Returns:
- expiryDateSemantics
-
getIssueDateSemantics
Getter for issueDateSemantics field. See constructor documentation for more information about the field.- Returns:
- issueDateSemantics
-
getBirthDateSemantics
Getter for birthDateSemantics field. See constructor documentation for more information about the field.- Returns:
- birthDateSemantics
-
getIssueDateBeforeExpiryDate
Getter for issueDateBeforeExpiryDate field. See constructor documentation for more information about the field.- Returns:
- issueDateBeforeExpiryDate
-
getBirthDateBeforeIssueDate
Getter for birthDateBeforeIssueDate field. See constructor documentation for more information about the field.- Returns:
- birthDateBeforeIssueDate
-
getBirthDateBeforeExpiryDate
Getter for birthDateBeforeExpiryDate field. See constructor documentation for more information about the field.- Returns:
- birthDateBeforeExpiryDate
-