Package 

Class HealthApiDocumentTaskManager

    • 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
      Task<Document> sendFeedbackForExtractions(@NonNull() Document document, @NonNull() Map<String, SpecificExtraction> extractions) Sends approved and conceivably corrected extractions for the given document.
      Task<Document> sendFeedbackForExtractions(@NonNull() Document document, @NonNull() Map<String, SpecificExtraction> extractions, @NonNull() Map<String, CompoundExtraction> compoundExtractions) Sends approved and conceivably corrected extractions for the given document.
      Task<Array<byte>> getPageImage(String documentId, int page) Get the rendered image of a page as byte[]
      Task<List<PaymentProvider>> getPaymentProviders() A payment provider is a Gini partner which integrated the GiniPay for Banks SDK into their mobile apps.
      Task<PaymentProvider> getPaymentProvider(String id)
      Task<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.core.api.DocumentTaskManager

        cancelDocumentPolling, createCompositeDocument, createDocument, createPartialDocument, deleteDocument, deletePartialDocumentAndParents, getAllExtractions, getDocument, getLayout, getMoshi, getPaymentRequest, getPaymentRequests, pollDocument, reportDocument
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HealthApiDocumentTaskManager

        HealthApiDocumentTaskManager(HealthApiCommunicator apiCommunicator, SessionManager sessionManager, GiniApiType giniApiType, Moshi moshi)
    • Method Detail

      • sendFeedbackForExtractions

         Task<Document> sendFeedbackForExtractions(@NonNull() Document document, @NonNull() Map<String, SpecificExtraction> extractions)

        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.
        extractions - A Map where the key is the name of the specific extraction and the value is the SpecificExtraction object.
      • sendFeedbackForExtractions

         Task<Document> sendFeedbackForExtractions(@NonNull() Document document, @NonNull() Map<String, SpecificExtraction> extractions, @NonNull() 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.
        extractions - 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

         Task<Array<byte>> getPageImage(String documentId, int page)

        Get the rendered image of a page as byte[]

        Parameters:
        documentId - id of document
        page - page of document
      • createPaymentRequest

         Task<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.