public class IdExtractionResult extends DigifiedResult
Constructor and Description |
---|
IdExtractionResult(String message,
String nextProcess,
Integer overallStatus,
Integer result,
Boolean shouldTerminate,
FrontIdData frontIdData,
BackIdData backIdData,
String error,
ArrayList<String> errorCode,
String warning,
ArrayList<String> warningCode)
Response of the "Extract request" of the API
Constructor for IdExtractionResult
|
Modifier and Type | Method and Description |
---|---|
BackIdData |
getBackIdData()
Getter method for
backIdData : data of the back side of the id |
FrontIdData |
getFrontIdData()
Getter method for
frontIdData : data of the front side of the id |
String |
getWarning()
Getter method for
warning : the warning message |
ArrayList<String> |
getWarningCode()
Getter method for
warningCode : the warning code |
getError, getErrorCode, getMessage, getNextProcess, getOverallStatus, getResult, getShouldTerminate
public IdExtractionResult(String message, String nextProcess, Integer overallStatus, Integer result, Boolean shouldTerminate, FrontIdData frontIdData, BackIdData backIdData, String error, ArrayList<String> errorCode, String warning, ArrayList<String> warningCode)
message
- "msg" in the API response, represents the recommended action for usernextProcess
- "next" in the API response, represents the next operationoverallStatus
- "overall_status" in the API response,
Enumeration representing overall status of the session:
(FAILED: 0, VERIFIED: 1, IN_PROGRESS: 2, PENDING: 3)result
- "result" in the API response,
indicating the session status: (SUCCESS: 0, HAS_ERRORS: -1, HAS_WARNINGS: 1)shouldTerminate
- "should_terminate" in the API response,
False if there will be a next op-state / try, True otherwisefrontIdData
- "front" in the API response, data of the front side of the idbackIdData
- "back" in the API response, data of the back side of the iderror
- "Error" in the API response, the error messageerrorCode
- "code" in the API response, the error codewarning
- "warning" in the API response, the warning messagewarningCode
- "warning_code" in the API response, the warning codepublic FrontIdData getFrontIdData()
frontIdData
: data of the front side of the idpublic BackIdData getBackIdData()
backIdData
: data of the back side of the idpublic String getWarning()
warning
: the warning messagepublic ArrayList<String> getWarningCode()
warningCode
: the warning code