Package com.incode.welcome_sdk.results
Class DocumentValidationResult
-
- All Implemented Interfaces:
public final class DocumentValidationResult extends BaseResult
Stores result of document validation
-
-
Field Summary
Fields Modifier and Type Field Description public String
documentPath
public IncodeWelcome.AddressFields
addressFields
public String
mimeType
public ResultCode
resultCode
public Throwable
error
-
Constructor Summary
Constructors Constructor Description DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath, IncodeWelcome.AddressFields addressFields, String mimeType, Map<DocumentType, IResponseDocumentScan> results)
DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath, IncodeWelcome.AddressFields addressFields, String mimeType)
DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath, IncodeWelcome.AddressFields addressFields)
DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath)
DocumentValidationResult(ResultCode resultCode, Throwable error)
DocumentValidationResult(ResultCode resultCode)
-
Method Summary
Modifier and Type Method Description String
toString()
final ResponseMedicalDoc
getMedicalDocData()
final ResponseOCRData
getAddressStatementData()
final Unit
setResult(DocumentType documentType, IResponseDocumentScan result)
-
-
Constructor Detail
-
DocumentValidationResult
DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath, IncodeWelcome.AddressFields addressFields, String mimeType, Map<DocumentType, IResponseDocumentScan> results)
-
DocumentValidationResult
DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath, IncodeWelcome.AddressFields addressFields, String mimeType)
-
DocumentValidationResult
DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath, IncodeWelcome.AddressFields addressFields)
-
DocumentValidationResult
DocumentValidationResult(ResultCode resultCode, Throwable error, String documentPath)
-
DocumentValidationResult
DocumentValidationResult(ResultCode resultCode, Throwable error)
-
DocumentValidationResult
DocumentValidationResult(ResultCode resultCode)
-
-
Method Detail
-
getMedicalDocData
final ResponseMedicalDoc getMedicalDocData()
-
getAddressStatementData
final ResponseOCRData getAddressStatementData()
-
setResult
final Unit setResult(DocumentType documentType, IResponseDocumentScan result)
-
-
-
-