Client
interface Client
Content copied to clipboard
Client class to make async calls to Veryfi API.
Functions
connect
Link copied to clipboard
connect to URL
delete Document
Link copied to clipboard
get Document
Link copied to clipboard
get Documents
Link copied to clipboard
process Document
Link copied to clipboard
abstract fun processDocument(fileStream: InputStream, fileName: String, categories: List<String>, deleteAfterProcessing: Boolean, parameters: JSONObject?, onSuccess: (String) -> Unit, onError: (String) -> Unit)
Content copied to clipboard
Process a document and extract all the fields from it
process Document Url
Link copied to clipboard
abstract fun processDocumentUrl(fileUrl: String, fileUrls: List<String>?, categories: List<String>?, deleteAfterProcessing: Boolean, maxPagesToProcess: Int, boostMode: Boolean, externalId: String?, parameters: JSONObject?, onSuccess: (String) -> Unit, onError: (String) -> Unit)
Content copied to clipboard
Process Document from url and extract all the fields from it.
update Document
Link copied to clipboard
abstract fun updateDocument(documentId: String, parameters: JSONObject, onSuccess: (String) -> Unit, onError: (String) -> Unit)
Content copied to clipboard
Update data for a previously processed document, including almost any field like vendor
, date
, notes
and etc.
Inheritors
ClientImpl
Link copied to clipboard