-
- All Implemented Interfaces:
public final class HealthApiDocumentManager extends DocumentManager<HealthApiDocumentRepository, ExtractionsContainer>
The HealthApiDocumentManager is a high level API on top of the Gini Health API. It provides high level methods to handle document and payment request related tasks easily.
-
-
Constructor Summary
Constructors Constructor Description HealthApiDocumentManager(HealthApiDocumentRepository documentRepository)
-
Method Summary
Modifier and Type Method Description final Resource<ByteArray>getPageImage(String documentId, Integer page)Get the rendered image of a page as byte[] final Resource<List<PaymentProvider>>getPaymentProviders()A payment provider is a Gini partner which integrated the GiniPay for Banks SDK into their mobile apps. final Resource<PaymentProvider>getPaymentProvider(String id)final Resource<String>createPaymentRequest(PaymentRequestInput paymentRequestInput)A PaymentRequest is used to signal to the API the intent of executing a payment using a specific payment provider for a document with its (possibly modified) extractions. -
Methods inherited from class net.gini.android.core.api.DocumentManager
createCompositeDocument, createCompositeDocument, createPartialDocument, deleteDocument, deletePartialDocumentAndParents, getAllExtractions, getAllExtractionsWithPolling, getDocument, getDocument, getLayout, getPaymentRequest, getPaymentRequests, pollDocument, sendFeedbackForExtractions, sendFeedbackForExtractions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
HealthApiDocumentManager
HealthApiDocumentManager(HealthApiDocumentRepository documentRepository)
-
-
Method Detail
-
getPageImage
final Resource<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 Resource<List<PaymentProvider>> getPaymentProviders()
A payment provider is a Gini partner which integrated the GiniPay for Banks SDK into their mobile apps.
-
getPaymentProvider
final Resource<PaymentProvider> getPaymentProvider(String id)
-
createPaymentRequest
final Resource<String> createPaymentRequest(PaymentRequestInput paymentRequestInput)
A PaymentRequest is used to signal to the API the intent of executing a payment using a specific payment provider for a document with its (possibly modified) extractions.
-
-
-
-