public class MocksAndTestsApi extends Object
| Constructor and Description |
|---|
MocksAndTestsApi() |
MocksAndTestsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
CategorizationCheckResults |
checkCategorization(TransactionsData body)
Check categorization
This service can be used to check the categorization for a given set of transactions, without the need of having the transactions actually imported in finAPI.
|
com.squareup.okhttp.Call |
checkCategorizationAsync(TransactionsData body,
ApiCallback<CategorizationCheckResults> callback)
Check categorization (asynchronously)
This service can be used to check the categorization for a given set of transactions, without the need of having the transactions actually imported in finAPI.
|
com.squareup.okhttp.Call |
checkCategorizationCall(TransactionsData body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for checkCategorization
|
ApiResponse<CategorizationCheckResults> |
checkCategorizationWithHttpInfo(TransactionsData body)
Check categorization
This service can be used to check the categorization for a given set of transactions, without the need of having the transactions actually imported in finAPI.
|
ApiClient |
getApiClient() |
void |
mockBatchUpdate(MockBatchUpdateParams body)
Mock batch update
This service can be used to mock an update of one or several bank connections by letting you simulate finAPI's communication with a bank server.
|
com.squareup.okhttp.Call |
mockBatchUpdateAsync(MockBatchUpdateParams body,
ApiCallback<Void> callback)
Mock batch update (asynchronously)
This service can be used to mock an update of one or several bank connections by letting you simulate finAPI's communication with a bank server.
|
com.squareup.okhttp.Call |
mockBatchUpdateCall(MockBatchUpdateParams body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for mockBatchUpdate
|
ApiResponse<Void> |
mockBatchUpdateWithHttpInfo(MockBatchUpdateParams body)
Mock batch update
This service can be used to mock an update of one or several bank connections by letting you simulate finAPI's communication with a bank server.
|
void |
setApiClient(ApiClient apiClient) |
public MocksAndTestsApi()
public MocksAndTestsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call checkCategorizationCall(TransactionsData body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Transactions data (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CategorizationCheckResults checkCategorization(TransactionsData body) throws ApiException
body - Transactions data (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CategorizationCheckResults> checkCategorizationWithHttpInfo(TransactionsData body) throws ApiException
body - Transactions data (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call checkCategorizationAsync(TransactionsData body, ApiCallback<CategorizationCheckResults> callback) throws ApiException
body - Transactions data (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call mockBatchUpdateCall(MockBatchUpdateParams body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - Data for mock bank connection updates (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void mockBatchUpdate(MockBatchUpdateParams body) throws ApiException
body - Data for mock bank connection updates (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> mockBatchUpdateWithHttpInfo(MockBatchUpdateParams body) throws ApiException
body - Data for mock bank connection updates (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call mockBatchUpdateAsync(MockBatchUpdateParams body, ApiCallback<Void> callback) throws ApiException
body - Data for mock bank connection updates (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2018. All rights reserved.