Package com.onfido
Class ExtractionManager
- java.lang.Object
-
- com.onfido.api.ResourceManager
-
- com.onfido.ExtractionManager
-
public class ExtractionManager extends ResourceManager
Manager class for the Extraction resource type. Contains resource-specific methods for interacting with the API. Authored by akrasnoshchok
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedExtractionManager(Config config, okhttp3.OkHttpClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Extractionperform(String document_id)Initiates an extraction for a document.-
Methods inherited from class com.onfido.api.ResourceManager
addFormDataParam, deleteRequest, downloadRequest, get, post, put, readInputStream, uploadRequest
-
-
-
-
Constructor Detail
-
ExtractionManager
protected ExtractionManager(Config config, okhttp3.OkHttpClient client)
-
-
Method Detail
-
perform
public Extraction perform(String document_id) throws OnfidoException
Initiates an extraction for a document.- Parameters:
document_id- the unique identifier of the uploaded document to run extraction on- Returns:
- the Extraction
- Throws:
OnfidoException- the onfido exception
-
-