Document Manager
The DocumentManager is a high level API on top of the Gini API, which is used via the ApiCommunicator. It provides high level methods to handle document related tasks easily.
Constructors
Functions
Creates a new Gini composite document. The input Map must contain the partial documents as keys. These will be part of the multi-page document. The value for each partial document key is the amount in degrees the document has been rotated by the user.
Creates a new Gini composite document.
Uploads raw data and creates a new Gini partial document.
A PaymentRequest is used to have on the backend the intent of making a payment for a document with its (modified) extractions and specific payment provider.
Deletes a Gini document.
Deletes a Gini partial document and all its parent composite documents.
Get the document with the given unique identifier.
Get the extractions for the given document.
Gets the layout of a document. The layout of the document describes the textual content of a document with positional information, based on the processed document.
Get the rendered image of a page as byte[]
Get information about the payment of the PaymentRequest
A payment provider is a Gini partner which integrated the GiniPay for Banks SDK into their mobile apps.
Continually checks the document status (via the Gini API) until the document is fully processed. To avoid flooding the network, there is a pause of at least the number of seconds that is set in the POLLING_INTERVAL constant of DocumentTaskManager.
Sends an error report for the given document to Gini. If the processing result for a document was not satisfactory (e.g. extractions where empty or incorrect), you can create an error report for a document. This allows Gini to analyze and correct the problem that was found.
Mark a PaymentRequest as paid.
Sends approved and conceivably corrected extractions for the given document. This is called "submitting feedback on extractions" in the Gini API documentation.