| Package | Description |
|---|---|
| com.acheck21.checks | |
| com.acheck21.checks.api |
| Modifier and Type | Method and Description |
|---|---|
void |
ApiCallback.onFailure(ApiException e,
int statusCode,
Map<String,List<String>> responseHeaders)
This is called when the API call fails.
|
| Modifier and Type | Method and Description |
|---|---|
com.squareup.okhttp.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
Object body,
Map<String,String> headerParams,
Map<String,Object> formParams,
String[] authNames,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build HTTP call with the given options.
|
<T> T |
ApiClient.deserialize(com.squareup.okhttp.Response response,
Type returnType)
Deserialize response body to Java object, according to the return type and
the Content-Type response header.
|
File |
ApiClient.downloadFileFromResponse(com.squareup.okhttp.Response response)
Download file from the given response.
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call)
|
<T> ApiResponse<T> |
ApiClient.execute(com.squareup.okhttp.Call call,
Type returnType)
Execute HTTP call and deserialize the HTTP response body into the given return type.
|
<T> T |
ApiClient.handleResponse(com.squareup.okhttp.Response response,
Type returnType)
Handle the given response, return the deserialized object when the response is successful.
|
com.squareup.okhttp.RequestBody |
ApiClient.serialize(Object obj,
String contentType)
Serialize the given Java object into request body according to the object's
class and the request Content-Type.
|
| Modifier and Type | Method and Description |
|---|---|
Check |
ChecksApi.createCheck(String clientId,
CreateCheckParams values)
Create a new Check transaction.
|
com.squareup.okhttp.Call |
ChecksApi.createCheckAsync(String clientId,
CreateCheckParams values,
ApiCallback<Check> callback)
Create a new Check transaction.
|
ApiResponse<Check> |
ChecksApi.createCheckWithHttpInfo(String clientId,
CreateCheckParams values)
Create a new Check transaction.
|
Merchant |
MerchantsApi.createMerchant(Merchant merchant)
Create a new merchant account.
|
com.squareup.okhttp.Call |
MerchantsApi.createMerchantAsync(Merchant merchant,
ApiCallback<Merchant> callback)
Create a new merchant account.
|
ApiResponse<Merchant> |
MerchantsApi.createMerchantWithHttpInfo(Merchant merchant)
Create a new merchant account.
|
ReturnsQueryResult |
ChecksApi.findReturns(String clientId,
Date startDate,
Date endDate,
Integer offset,
Integer limit)
Retrieve returns for given date(s) or yesterday if no dates are given
|
com.squareup.okhttp.Call |
ChecksApi.findReturnsAsync(String clientId,
Date startDate,
Date endDate,
Integer offset,
Integer limit,
ApiCallback<ReturnsQueryResult> callback)
Retrieve returns for given date(s) or yesterday if no dates are given (asynchronously)
|
ApiResponse<ReturnsQueryResult> |
ChecksApi.findReturnsWithHttpInfo(String clientId,
Date startDate,
Date endDate,
Integer offset,
Integer limit)
Retrieve returns for given date(s) or yesterday if no dates are given
|
List<Attachment> |
ChecksApi.getAttachments(String clientId,
Long documentId)
Retrieve Attachments for a specific Check.
|
com.squareup.okhttp.Call |
ChecksApi.getAttachmentsAsync(String clientId,
Long documentId,
ApiCallback<List<Attachment>> callback)
Retrieve Attachments for a specific Check.
|
ApiResponse<List<Attachment>> |
ChecksApi.getAttachmentsWithHttpInfo(String clientId,
Long documentId)
Retrieve Attachments for a specific Check.
|
Check |
ChecksApi.getCheck(String clientId,
Long documentId)
Retrieve a specific Check
|
com.squareup.okhttp.Call |
ChecksApi.getCheckAsync(String clientId,
Long documentId,
ApiCallback<Check> callback)
Retrieve a specific Check (asynchronously)
|
CheckQueryResult |
ChecksApi.getChecks(String clientId,
Date startDate,
Date endDate,
List<String> currentStates,
Integer offset,
Integer limit)
Search for all Checks that belong to a merchant account.
|
com.squareup.okhttp.Call |
ChecksApi.getChecksAsync(String clientId,
Date startDate,
Date endDate,
List<String> currentStates,
Integer offset,
Integer limit,
ApiCallback<CheckQueryResult> callback)
Search for all Checks that belong to a merchant account.
|
ApiResponse<CheckQueryResult> |
ChecksApi.getChecksWithHttpInfo(String clientId,
Date startDate,
Date endDate,
List<String> currentStates,
Integer offset,
Integer limit)
Search for all Checks that belong to a merchant account.
|
ApiResponse<Check> |
ChecksApi.getCheckWithHttpInfo(String clientId,
Long documentId)
Retrieve a specific Check
|
String |
LoginApi.getCurrentUser()
Returns currently logged in valid UserName
|
com.squareup.okhttp.Call |
LoginApi.getCurrentUserAsync(ApiCallback<String> callback)
Returns currently logged in valid UserName (asynchronously)
|
ApiResponse<String> |
LoginApi.getCurrentUserWithHttpInfo()
Returns currently logged in valid UserName
|
Merchant |
MerchantsApi.getMerchant(String merchantId)
Get details of a specific merchant
|
com.squareup.okhttp.Call |
MerchantsApi.getMerchantAsync(String merchantId,
ApiCallback<Merchant> callback)
Get details of a specific merchant (asynchronously)
|
List<ClientName> |
MerchantsApi.getMerchants()
Get a list of all merchant accounts the user has access to
|
com.squareup.okhttp.Call |
MerchantsApi.getMerchantsAsync(ApiCallback<List<ClientName>> callback)
Get a list of all merchant accounts the user has access to (asynchronously)
|
ApiResponse<List<ClientName>> |
MerchantsApi.getMerchantsWithHttpInfo()
Get a list of all merchant accounts the user has access to
|
ApiResponse<Merchant> |
MerchantsApi.getMerchantWithHttpInfo(String merchantId)
Get details of a specific merchant
|
List<ModelReturn> |
ChecksApi.getReturns(String clientId,
Long documentId)
Retrieve returns for a specific Check.
|
com.squareup.okhttp.Call |
ChecksApi.getReturnsAsync(String clientId,
Long documentId,
ApiCallback<List<ModelReturn>> callback)
Retrieve returns for a specific Check.
|
ApiResponse<List<ModelReturn>> |
ChecksApi.getReturnsWithHttpInfo(String clientId,
Long documentId)
Retrieve returns for a specific Check.
|
List<Settlement> |
ChecksApi.getSettlements(String clientId,
Long documentId)
Retrieve Settlements for a specific Check.
|
com.squareup.okhttp.Call |
ChecksApi.getSettlementsAsync(String clientId,
Long documentId,
ApiCallback<List<Settlement>> callback)
Retrieve Settlements for a specific Check.
|
ApiResponse<List<Settlement>> |
ChecksApi.getSettlementsWithHttpInfo(String clientId,
Long documentId)
Retrieve Settlements for a specific Check.
|
void |
LoginApi.login(Credentials login)
Login and generate cookie for future authorization.
|
com.squareup.okhttp.Call |
LoginApi.loginAsync(Credentials login,
ApiCallback<Void> callback)
Login and generate cookie for future authorization.
|
ApiResponse<Void> |
LoginApi.loginWithHttpInfo(Credentials login)
Login and generate cookie for future authorization.
|
Merchant |
MerchantsApi.updateMerchant(String merchantId,
Merchant client)
Updates properties of a merchant account.
|
com.squareup.okhttp.Call |
MerchantsApi.updateMerchantAsync(String merchantId,
Merchant client,
ApiCallback<Merchant> callback)
Updates properties of a merchant account.
|
ApiResponse<Merchant> |
MerchantsApi.updateMerchantWithHttpInfo(String merchantId,
Merchant client)
Updates properties of a merchant account.
|
ValidationResult |
ChecksApi.validateCheck(String clientId,
ValidateCheckParams values)
Validates a check.
|
com.squareup.okhttp.Call |
ChecksApi.validateCheckAsync(String clientId,
ValidateCheckParams values,
ApiCallback<ValidationResult> callback)
Validates a check.
|
ApiResponse<ValidationResult> |
ChecksApi.validateCheckWithHttpInfo(String clientId,
ValidateCheckParams values)
Validates a check.
|
void |
ChecksApi.voidCheck(String clientId,
Long documentId)
Delete a specific Check transaction.
|
com.squareup.okhttp.Call |
ChecksApi.voidCheckAsync(String clientId,
Long documentId,
ApiCallback<Void> callback)
Delete a specific Check transaction.
|
ApiResponse<Void> |
ChecksApi.voidCheckWithHttpInfo(String clientId,
Long documentId)
Delete a specific Check transaction.
|
Copyright © 2018. All rights reserved.