public class ReversalApi extends Object
| Constructor and Description |
|---|
ReversalApi() |
ReversalApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
InlineResponse2011 |
authReversal(String id,
AuthReversalRequest authReversalRequest)
Process an Authorization Reversal
Include the payment ID in the POST request to reverse the payment amount.
|
com.squareup.okhttp.Call |
authReversalAsync(String id,
AuthReversalRequest authReversalRequest,
ApiCallback<InlineResponse2011> callback)
Process an Authorization Reversal (asynchronously)
Include the payment ID in the POST request to reverse the payment amount.
|
com.squareup.okhttp.Call |
authReversalCall(String id,
AuthReversalRequest authReversalRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for authReversal
|
ApiResponse<InlineResponse2011> |
authReversalWithHttpInfo(String id,
AuthReversalRequest authReversalRequest)
Process an Authorization Reversal
Include the payment ID in the POST request to reverse the payment amount.
|
ApiClient |
getApiClient() |
InlineResponse2003 |
getAuthReversal(String id)
Retrieve an Authorization Reversal
Include the authorization reversal ID in the GET request to retrieve the authorization reversal details.
|
com.squareup.okhttp.Call |
getAuthReversalAsync(String id,
ApiCallback<InlineResponse2003> callback)
Retrieve an Authorization Reversal (asynchronously)
Include the authorization reversal ID in the GET request to retrieve the authorization reversal details.
|
com.squareup.okhttp.Call |
getAuthReversalCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAuthReversal
|
ApiResponse<InlineResponse2003> |
getAuthReversalWithHttpInfo(String id)
Retrieve an Authorization Reversal
Include the authorization reversal ID in the GET request to retrieve the authorization reversal details.
|
void |
setApiClient(ApiClient apiClient) |
public ReversalApi()
public ReversalApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call authReversalCall(String id, AuthReversalRequest authReversalRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InlineResponse2011 authReversal(String id, AuthReversalRequest authReversalRequest) throws ApiException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse2011> authReversalWithHttpInfo(String id, AuthReversalRequest authReversalRequest) throws ApiException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call authReversalAsync(String id, AuthReversalRequest authReversalRequest, ApiCallback<InlineResponse2011> callback) throws ApiException
id - The payment ID returned from a previous payment request. (required)authReversalRequest - (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 getAuthReversalCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The authorization reversal ID returned from a previous authorization reversal request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InlineResponse2003 getAuthReversal(String id) throws ApiException
id - The authorization reversal ID returned from a previous authorization reversal request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse2003> getAuthReversalWithHttpInfo(String id) throws ApiException
id - The authorization reversal ID returned from a previous authorization reversal request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAuthReversalAsync(String id, ApiCallback<InlineResponse2003> callback) throws ApiException
id - The authorization reversal ID returned from a previous authorization reversal request. (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.