BankApiDocumentRepository

Internal use only.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
public ExtractionsContainer createExtractionsContainer(Map<String, SpecificExtraction> specificExtractions, Map<String, CompoundExtraction> compoundExtractions, JSONObject responseJSON)
Link copied to clipboard
public final Resource<Document> createPartialDocument(ByteArray documentData, String contentType, String filename, DocumentManager.DocumentType documentType, DocumentMetadata documentMetadata)
Link copied to clipboard
public final Resource<Unit> deleteDocument(String documentId)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Resource<Document> getDocument(Uri uri)
public final Resource<Document> getDocument(String documentId)
Link copied to clipboard
public final Resource<ByteArray> getFile(String location)
Link copied to clipboard
public final Resource<JSONObject> getLayout(Document document)
Link copied to clipboard
public final Resource<Payment> getPayment(String id)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Resource<Unit> logErrorEvent(ErrorEvent errorEvent)
Link copied to clipboard
public final Map<String, SpecificExtraction> parseSpecificExtractions(JSONObject specificExtractionsJson, Map<String, List<Extraction>> candidates)
Link copied to clipboard
public final Resource<Document> pollDocument(Document document)
Link copied to clipboard
public final Resource<ResolvedPayment> resolvePaymentRequest(String requestId, ResolvePaymentInput resolvePaymentInput)
Link copied to clipboard
public final Resource<Unit> sendFeedbackForExtractions(Document document, Map<String, SpecificExtraction> extractions, Map<String, CompoundExtraction> compoundExtractions)