Document Manager
public final class DocumentManager
Content copied to clipboard
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
DocumentManager
Link copied to clipboard
Functions
createCompositeDocument
Link copied to clipboard
final Document createCompositeDocument(LinkedHashMap<Document, Integer> documentRotationMap, DocumentTaskManager.DocumentType documentType)
Content copied to clipboard
final Document createCompositeDocument(List<Document> documents, DocumentTaskManager.DocumentType documentType)
Content copied to clipboard
createPartialDocument
Link copied to clipboard
final Document createPartialDocument(ByteArray document, String contentType, String filename, DocumentTaskManager.DocumentType documentType, DocumentMetadata documentMetadata)
Content copied to clipboard
createPaymentRequest
Link copied to clipboard
final String createPaymentRequest(PaymentRequestInput paymentRequestInput)
Content copied to clipboard
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.
deleteDocument
Link copied to clipboard
deletePartialDocumentAndParents
Link copied to clipboard
getDocument
Link copied to clipboard
getExtractions
Link copied to clipboard
getLayout
Link copied to clipboard
getPageImage
Link copied to clipboard
getPayment
Link copied to clipboard
getPaymentProvider
Link copied to clipboard
getPaymentProviders
Link copied to clipboard
getPaymentRequest
Link copied to clipboard
getPaymentRequests
Link copied to clipboard
pollDocument
Link copied to clipboard
reportDocument
Link copied to clipboard
final String reportDocument(Document document, String summary, String description)
Content copied to clipboard
resolvePaymentRequest
Link copied to clipboard
final ResolvedPayment resolvePaymentRequest(String requestId, ResolvePaymentInput resolvePaymentInput)
Content copied to clipboard
Mark a PaymentRequest as paid.
sendFeedback
Link copied to clipboard
final Document sendFeedback(Document document, Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions)
Content copied to clipboard