-
- All Implemented Interfaces:
public final class HealthApiDocumentManager extends DocumentManager<HealthApiCommunicator, HealthApiDocumentTaskManager, ExtractionsContainer>
Created by Alpár Szotyori on 25.01.22.
<p> Copyright (c) 2022 Gini GmbH.
-
-
Constructor Summary
Constructors Constructor Description HealthApiDocumentManager(HealthApiDocumentTaskManager documentTaskManager)
-
Method Summary
Modifier and Type Method Description final DocumentsendFeedback(Document document, Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions)Sends approved and conceivably corrected extractions for the given document. final ByteArraygetPageImage(String documentId, Integer page)Get the rendered image of a page as byte[] final List<PaymentProvider>getPaymentProviders()A payment provider is a Gini partner which integrated the GiniPay for Banks SDK into their mobile apps. final PaymentProvidergetPaymentProvider(String id)final StringcreatePaymentRequest(PaymentRequestInput paymentRequestInput)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. -
Methods inherited from class net.gini.android.health.api.HealthApiDocumentManager
createCompositeDocument, createCompositeDocument, createPartialDocument, deleteDocument, deletePartialDocumentAndParents, getDocument, getDocument, getExtractions, getLayout, getPaymentRequest, getPaymentRequests, pollDocument, reportDocument -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HealthApiDocumentManager
HealthApiDocumentManager(HealthApiDocumentTaskManager documentTaskManager)
-
-
Method Detail
-
sendFeedback
final Document sendFeedback(Document document, Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions)
Sends approved and conceivably corrected extractions for the given document. This is called "submitting feedback on extractions" in the Gini API documentation.
- Parameters:
document- The document for which the extractions should be updated.specificExtractions- A Map where the key is the name of the specific extraction and the value is the SpecificExtraction object.compoundExtractions- A Map where the key is the name of the compound extraction and the value is the CompoundExtraction object.
-
getPageImage
final ByteArray getPageImage(String documentId, Integer page)
Get the rendered image of a page as byte[]
- Parameters:
documentId- id of documentpage- page of document
-
getPaymentProviders
final List<PaymentProvider> getPaymentProviders()
A payment provider is a Gini partner which integrated the GiniPay for Banks SDK into their mobile apps.
-
getPaymentProvider
final PaymentProvider getPaymentProvider(String id)
-
createPaymentRequest
final String createPaymentRequest(PaymentRequestInput paymentRequestInput)
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.
-
-
-
-