Skip to main content

DocumentFinalizeErrorCode

The business reasons a file record can fail to become available.

enum DocumentFinalizeErrorCode {
NOT_UPLOADED
ALREADY_FINALIZED
DOCUMENT_NOT_FOUND
}

Values

DocumentFinalizeErrorCode.NOT_UPLOADED

Nothing was found at the address the file was to be sent to, or what was found is not the size that was declared. Send the file again — the same record can be finalised once it is really there.

DocumentFinalizeErrorCode.ALREADY_FINALIZED

The record is not waiting for a file: somebody has already confirmed this one, or it has since been removed.

DocumentFinalizeErrorCode.DOCUMENT_NOT_FOUND

No file record of this merchant has the supplied id.

Member Of

DocumentFinalizeError object