public class VoidApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
InlineResponse2015 |
getVoid(String id)
Retrieve A Void
Include the void ID in the GET request to retrieve the void details.
|
com.squareup.okhttp.Call |
getVoidAsync(String id,
ApiCallback<InlineResponse2015> callback)
Retrieve A Void (asynchronously)
Include the void ID in the GET request to retrieve the void details.
|
com.squareup.okhttp.Call |
getVoidCall(String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getVoid
|
ApiResponse<InlineResponse2015> |
getVoidWithHttpInfo(String id)
Retrieve A Void
Include the void ID in the GET request to retrieve the void details.
|
void |
setApiClient(ApiClient apiClient) |
InlineResponse2015 |
voidCapture(VoidCaptureRequest voidCaptureRequest,
String id)
Void a Capture
Include the capture ID in the POST request to cancel the capture.
|
com.squareup.okhttp.Call |
voidCaptureAsync(VoidCaptureRequest voidCaptureRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Capture (asynchronously)
Include the capture ID in the POST request to cancel the capture.
|
com.squareup.okhttp.Call |
voidCaptureCall(VoidCaptureRequest voidCaptureRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidCapture
|
ApiResponse<InlineResponse2015> |
voidCaptureWithHttpInfo(VoidCaptureRequest voidCaptureRequest,
String id)
Void a Capture
Include the capture ID in the POST request to cancel the capture.
|
InlineResponse2015 |
voidCredit(VoidCreditRequest voidCreditRequest,
String id)
Void a Credit
Include the credit ID in the POST request to cancel the credit.
|
com.squareup.okhttp.Call |
voidCreditAsync(VoidCreditRequest voidCreditRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Credit (asynchronously)
Include the credit ID in the POST request to cancel the credit.
|
com.squareup.okhttp.Call |
voidCreditCall(VoidCreditRequest voidCreditRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidCredit
|
ApiResponse<InlineResponse2015> |
voidCreditWithHttpInfo(VoidCreditRequest voidCreditRequest,
String id)
Void a Credit
Include the credit ID in the POST request to cancel the credit.
|
InlineResponse2015 |
voidPayment(VoidPaymentRequest voidPaymentRequest,
String id)
Void a Payment
Include the payment ID in the POST request to cancel the payment.
|
com.squareup.okhttp.Call |
voidPaymentAsync(VoidPaymentRequest voidPaymentRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Payment (asynchronously)
Include the payment ID in the POST request to cancel the payment.
|
com.squareup.okhttp.Call |
voidPaymentCall(VoidPaymentRequest voidPaymentRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidPayment
|
ApiResponse<InlineResponse2015> |
voidPaymentWithHttpInfo(VoidPaymentRequest voidPaymentRequest,
String id)
Void a Payment
Include the payment ID in the POST request to cancel the payment.
|
InlineResponse2015 |
voidRefund(VoidRefundRequest voidRefundRequest,
String id)
Void a Refund
Include the refund ID in the POST request to cancel the refund.
|
com.squareup.okhttp.Call |
voidRefundAsync(VoidRefundRequest voidRefundRequest,
String id,
ApiCallback<InlineResponse2015> callback)
Void a Refund (asynchronously)
Include the refund ID in the POST request to cancel the refund.
|
com.squareup.okhttp.Call |
voidRefundCall(VoidRefundRequest voidRefundRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidRefund
|
ApiResponse<InlineResponse2015> |
voidRefundWithHttpInfo(VoidRefundRequest voidRefundRequest,
String id)
Void a Refund
Include the refund ID in the POST request to cancel the refund.
|
public VoidApi()
public VoidApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getVoidCall(String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The void ID returned from a previous void request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InlineResponse2015 getVoid(String id) throws ApiException
id - The void ID returned from a previous void request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse2015> getVoidWithHttpInfo(String id) throws ApiException
id - The void ID returned from a previous void request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getVoidAsync(String id, ApiCallback<InlineResponse2015> callback) throws ApiException
id - The void ID returned from a previous void 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 objectpublic com.squareup.okhttp.Call voidCaptureCall(VoidCaptureRequest voidCaptureRequest, String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
voidCaptureRequest - (required)id - The capture ID returned from a previous capture request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InlineResponse2015 voidCapture(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException
voidCaptureRequest - (required)id - The capture ID returned from a previous capture request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse2015> voidCaptureWithHttpInfo(VoidCaptureRequest voidCaptureRequest, String id) throws ApiException
voidCaptureRequest - (required)id - The capture ID returned from a previous capture request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voidCaptureAsync(VoidCaptureRequest voidCaptureRequest, String id, ApiCallback<InlineResponse2015> callback) throws ApiException
voidCaptureRequest - (required)id - The capture ID returned from a previous capture 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 objectpublic com.squareup.okhttp.Call voidCreditCall(VoidCreditRequest voidCreditRequest, String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
voidCreditRequest - (required)id - The credit ID returned from a previous credit request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InlineResponse2015 voidCredit(VoidCreditRequest voidCreditRequest, String id) throws ApiException
voidCreditRequest - (required)id - The credit ID returned from a previous credit request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse2015> voidCreditWithHttpInfo(VoidCreditRequest voidCreditRequest, String id) throws ApiException
voidCreditRequest - (required)id - The credit ID returned from a previous credit request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voidCreditAsync(VoidCreditRequest voidCreditRequest, String id, ApiCallback<InlineResponse2015> callback) throws ApiException
voidCreditRequest - (required)id - The credit ID returned from a previous credit 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 objectpublic com.squareup.okhttp.Call voidPaymentCall(VoidPaymentRequest voidPaymentRequest, String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
voidPaymentRequest - (required)id - The payment ID returned from a previous payment request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InlineResponse2015 voidPayment(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException
voidPaymentRequest - (required)id - The payment ID returned from a previous payment request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse2015> voidPaymentWithHttpInfo(VoidPaymentRequest voidPaymentRequest, String id) throws ApiException
voidPaymentRequest - (required)id - The payment ID returned from a previous payment request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voidPaymentAsync(VoidPaymentRequest voidPaymentRequest, String id, ApiCallback<InlineResponse2015> callback) throws ApiException
voidPaymentRequest - (required)id - The payment ID returned from a previous payment 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 objectpublic com.squareup.okhttp.Call voidRefundCall(VoidRefundRequest voidRefundRequest, String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
voidRefundRequest - (required)id - The refund ID returned from a previous refund request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic InlineResponse2015 voidRefund(VoidRefundRequest voidRefundRequest, String id) throws ApiException
voidRefundRequest - (required)id - The refund ID returned from a previous refund request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<InlineResponse2015> voidRefundWithHttpInfo(VoidRefundRequest voidRefundRequest, String id) throws ApiException
voidRefundRequest - (required)id - The refund ID returned from a previous refund request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call voidRefundAsync(VoidRefundRequest voidRefundRequest, String id, ApiCallback<InlineResponse2015> callback) throws ApiException
voidRefundRequest - (required)id - The refund ID returned from a previous refund 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.