public class ChecksApi extends Object
| Constructor and Description |
|---|
ChecksApi() |
ChecksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
Check |
createCheck(String clientId,
CreateCheckParams values)
Create a new Check transaction.
|
com.squareup.okhttp.Call |
createCheckAsync(String clientId,
CreateCheckParams values,
ApiCallback<Check> callback)
Create a new Check transaction.
|
ApiResponse<Check> |
createCheckWithHttpInfo(String clientId,
CreateCheckParams values)
Create a new Check transaction.
|
ReturnsQueryResult |
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 |
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> |
findReturnsWithHttpInfo(String clientId,
Date startDate,
Date endDate,
Integer offset,
Integer limit)
Retrieve returns for given date(s) or yesterday if no dates are given
|
ApiClient |
getApiClient() |
List<Attachment> |
getAttachments(String clientId,
Long documentId)
Retrieve Attachments for a specific Check.
|
com.squareup.okhttp.Call |
getAttachmentsAsync(String clientId,
Long documentId,
ApiCallback<List<Attachment>> callback)
Retrieve Attachments for a specific Check.
|
ApiResponse<List<Attachment>> |
getAttachmentsWithHttpInfo(String clientId,
Long documentId)
Retrieve Attachments for a specific Check.
|
Check |
getCheck(String clientId,
Long documentId)
Retrieve a specific Check
|
com.squareup.okhttp.Call |
getCheckAsync(String clientId,
Long documentId,
ApiCallback<Check> callback)
Retrieve a specific Check (asynchronously)
|
CheckQueryResult |
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 |
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> |
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> |
getCheckWithHttpInfo(String clientId,
Long documentId)
Retrieve a specific Check
|
List<ModelReturn> |
getReturns(String clientId,
Long documentId)
Retrieve returns for a specific Check.
|
com.squareup.okhttp.Call |
getReturnsAsync(String clientId,
Long documentId,
ApiCallback<List<ModelReturn>> callback)
Retrieve returns for a specific Check.
|
ApiResponse<List<ModelReturn>> |
getReturnsWithHttpInfo(String clientId,
Long documentId)
Retrieve returns for a specific Check.
|
List<Settlement> |
getSettlements(String clientId,
Long documentId)
Retrieve Settlements for a specific Check.
|
com.squareup.okhttp.Call |
getSettlementsAsync(String clientId,
Long documentId,
ApiCallback<List<Settlement>> callback)
Retrieve Settlements for a specific Check.
|
ApiResponse<List<Settlement>> |
getSettlementsWithHttpInfo(String clientId,
Long documentId)
Retrieve Settlements for a specific Check.
|
void |
setApiClient(ApiClient apiClient) |
ValidationResult |
validateCheck(String clientId,
ValidateCheckParams values)
Validates a check.
|
com.squareup.okhttp.Call |
validateCheckAsync(String clientId,
ValidateCheckParams values,
ApiCallback<ValidationResult> callback)
Validates a check.
|
ApiResponse<ValidationResult> |
validateCheckWithHttpInfo(String clientId,
ValidateCheckParams values)
Validates a check.
|
void |
voidCheck(String clientId,
Long documentId)
Delete a specific Check transaction.
|
com.squareup.okhttp.Call |
voidCheckAsync(String clientId,
Long documentId,
ApiCallback<Void> callback)
Delete a specific Check transaction.
|
ApiResponse<Void> |
voidCheckWithHttpInfo(String clientId,
Long documentId)
Delete a specific Check transaction.
|
public ChecksApi()
public ChecksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Check createCheck(String clientId, CreateCheckParams values) throws ApiException
clientId - (required)values - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Check> createCheckWithHttpInfo(String clientId, CreateCheckParams values) throws ApiException
clientId - (required)values - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createCheckAsync(String clientId, CreateCheckParams values, ApiCallback<Check> callback) throws ApiException
clientId - (required)values - (optional)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 ReturnsQueryResult findReturns(String clientId, Date startDate, Date endDate, Integer offset, Integer limit) throws ApiException
clientId - (required)startDate - (optional)endDate - (optional)offset - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ReturnsQueryResult> findReturnsWithHttpInfo(String clientId, Date startDate, Date endDate, Integer offset, Integer limit) throws ApiException
clientId - (required)startDate - (optional)endDate - (optional)offset - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call findReturnsAsync(String clientId, Date startDate, Date endDate, Integer offset, Integer limit, ApiCallback<ReturnsQueryResult> callback) throws ApiException
clientId - (required)startDate - (optional)endDate - (optional)offset - (optional)limit - (optional)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 List<Attachment> getAttachments(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Attachment>> getAttachmentsWithHttpInfo(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAttachmentsAsync(String clientId, Long documentId, ApiCallback<List<Attachment>> callback) throws ApiException
clientId - (required)documentId - (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 Check getCheck(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Check> getCheckWithHttpInfo(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getCheckAsync(String clientId, Long documentId, ApiCallback<Check> callback) throws ApiException
clientId - (required)documentId - (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 CheckQueryResult getChecks(String clientId, Date startDate, Date endDate, List<String> currentStates, Integer offset, Integer limit) throws ApiException
clientId - (required)startDate - (optional)endDate - (optional)currentStates - (optional)offset - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CheckQueryResult> getChecksWithHttpInfo(String clientId, Date startDate, Date endDate, List<String> currentStates, Integer offset, Integer limit) throws ApiException
clientId - (required)startDate - (optional)endDate - (optional)currentStates - (optional)offset - (optional)limit - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getChecksAsync(String clientId, Date startDate, Date endDate, List<String> currentStates, Integer offset, Integer limit, ApiCallback<CheckQueryResult> callback) throws ApiException
clientId - (required)startDate - (optional)endDate - (optional)currentStates - (optional)offset - (optional)limit - (optional)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 List<ModelReturn> getReturns(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ModelReturn>> getReturnsWithHttpInfo(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getReturnsAsync(String clientId, Long documentId, ApiCallback<List<ModelReturn>> callback) throws ApiException
clientId - (required)documentId - (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 List<Settlement> getSettlements(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<Settlement>> getSettlementsWithHttpInfo(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSettlementsAsync(String clientId, Long documentId, ApiCallback<List<Settlement>> callback) throws ApiException
clientId - (required)documentId - (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 ValidationResult validateCheck(String clientId, ValidateCheckParams values) throws ApiException
clientId - (required)values - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ValidationResult> validateCheckWithHttpInfo(String clientId, ValidateCheckParams values) throws ApiException
clientId - (required)values - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call validateCheckAsync(String clientId, ValidateCheckParams values, ApiCallback<ValidationResult> callback) throws ApiException
clientId - (required)values - (optional)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 void voidCheck(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> voidCheckWithHttpInfo(String clientId, Long documentId) throws ApiException
clientId - (required)documentId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voidCheckAsync(String clientId, Long documentId, ApiCallback<Void> callback) throws ApiException
clientId - (required)documentId - (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.