Bank Api Document Manager
public final class BankApiDocumentManager extends DocumentManager<BankApiDocumentRepository, ExtractionsContainer>
The BankApiDocumentManager is a high level API on top of the Gini Bank API. It provides high level methods to handle document and payment request related tasks easily.
Functions
Link copied to clipboard
public final Resource<Document> createCompositeDocument(LinkedHashMap<Document, Integer> documentRotationMap, DocumentManager.DocumentType documentType)
public final Resource<Document> createCompositeDocument(List<Document> documents, DocumentManager.DocumentType documentType)
Link copied to clipboard
public final Resource<Document> createPartialDocument(ByteArray document, String contentType, String filename, DocumentManager.DocumentType documentType, DocumentMetadata documentMetadata)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Get information about the payment of the PaymentRequest
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Send error events to the Gini Bank API.
Link copied to clipboard
Link copied to clipboard
public final Resource<ResolvedPayment> resolvePaymentRequest(String requestId, ResolvePaymentInput resolvePaymentInput)
Mark a PaymentRequest as paid.
Link copied to clipboard
public final Resource<Unit> sendFeedbackForExtractions(Document document, Map<String, SpecificExtraction> specificExtractions)
public final Resource<Unit> sendFeedbackForExtractions(Document document, Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions)