public class StatusJson extends BaseJson
Constructor and Description |
---|
StatusJson() |
Modifier and Type | Method and Description |
---|---|
DocumentStatusForApi |
getDocumentState()
Representing status: completed, in progress, error.
|
String |
getErrorText()
String with explanatory text in case of error.
|
Integer |
getStatusCode()
Integer representation of the status.
|
void |
setDocumentState(DocumentStatusForApi documentState)
Representing status: completed, in progress, error.
|
void |
setErrorText(String errorText)
String with explanatory text in case of error.
|
void |
setStatusCode(Integer statusCode)
Integer representation of the status.
|
getObjType, setObjType, toString
public String getErrorText()
public void setErrorText(String errorText)
errorText
- String with explanatory text in case of error.public DocumentStatusForApi getDocumentState()
public void setDocumentState(DocumentStatusForApi documentState)
documentState
- Representing status: completed, in progress,
error.public Integer getStatusCode()
public void setStatusCode(Integer statusCode)
statusCode
- Integer representation of the status. Following is
the list of possible values: 0 - COMPLETED 1 - CREATED 2 -
CONVERTED_ONLY 3 - SEALED_ONLY 10 - UPLOAD_STARTED 11 - UPLOAD_FAILED
20 - CONVERSION_STARTED 21 - CONVERSION_FAILED 22 - CONVERSION_FINISHED
24 - SUBMISSION_STARTED 25 - SUBMISSION_FAILED 30 - SEAL_STARTED 31 -
SEALING_FAILED 32 - SEAL_FINISHED 41 - DOCUMENT_ALREADY_SEALEDCopyright © 2019. All rights reserved.