Package 

Class HealthApiDocumentManager

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Document sendFeedback(Document document, Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions) Sends approved and conceivably corrected extractions for the given document.
      final ByteArray getPageImage(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 PaymentProvider getPaymentProvider(String id)
      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.
      • 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
    • 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 document
        page - page of document
      • 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.