public class VoidApi extends Object
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
PtsV2PaymentsVoidsPost201Response |
mitVoid(MitVoidRequest mitVoidRequest)
Timeout Void
This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout).
|
okhttp3.Call |
mitVoidAsync(MitVoidRequest mitVoidRequest,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Timeout Void (asynchronously)
This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout).
|
okhttp3.Call |
mitVoidCall(MitVoidRequest mitVoidRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for mitVoid
|
ApiResponse<PtsV2PaymentsVoidsPost201Response> |
mitVoidWithHttpInfo(MitVoidRequest mitVoidRequest)
Timeout Void
This is to void a previous payment, capture, refund, or credit that merchant does not receive a reply(Mostly due to timeout).
|
void |
setApiClient(ApiClient apiClient) |
PtsV2PaymentsVoidsPost201Response |
voidCapture(VoidCaptureRequest voidCaptureRequest,
String id)
Void a Capture
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call.
|
okhttp3.Call |
voidCaptureAsync(VoidCaptureRequest voidCaptureRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Capture (asynchronously)
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call.
|
okhttp3.Call |
voidCaptureCall(VoidCaptureRequest voidCaptureRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidCapture
|
ApiResponse<PtsV2PaymentsVoidsPost201Response> |
voidCaptureWithHttpInfo(VoidCaptureRequest voidCaptureRequest,
String id)
Void a Capture
Refund a capture API is only used, if you have requested Capture independenlty using [/pts/v2/payments/{id}/captures](https://developer.cybersource.com/api-reference-assets/index.html#payments_capture) API call.
|
PtsV2PaymentsVoidsPost201Response |
voidCredit(VoidCreditRequest voidCreditRequest,
String id)
Void a Credit
Include the credit ID in the POST request to cancel the credit.
|
okhttp3.Call |
voidCreditAsync(VoidCreditRequest voidCreditRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Credit (asynchronously)
Include the credit ID in the POST request to cancel the credit.
|
okhttp3.Call |
voidCreditCall(VoidCreditRequest voidCreditRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidCredit
|
ApiResponse<PtsV2PaymentsVoidsPost201Response> |
voidCreditWithHttpInfo(VoidCreditRequest voidCreditRequest,
String id)
Void a Credit
Include the credit ID in the POST request to cancel the credit.
|
PtsV2PaymentsVoidsPost201Response |
voidPayment(VoidPaymentRequest voidPaymentRequest,
String id)
Void a Payment
Void a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call.
|
okhttp3.Call |
voidPaymentAsync(VoidPaymentRequest voidPaymentRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Payment (asynchronously)
Void a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call.
|
okhttp3.Call |
voidPaymentCall(VoidPaymentRequest voidPaymentRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidPayment
|
ApiResponse<PtsV2PaymentsVoidsPost201Response> |
voidPaymentWithHttpInfo(VoidPaymentRequest voidPaymentRequest,
String id)
Void a Payment
Void a Payment API is only used, if you have requested Authorization and Capture together in [/pts/v2/payments](https://developer.cybersource.com/api-reference-assets/index.html#payments_payments) API call.
|
PtsV2PaymentsVoidsPost201Response |
voidRefund(VoidRefundRequest voidRefundRequest,
String id)
Void a Refund
Include the refund ID in the POST request to cancel the refund.
|
okhttp3.Call |
voidRefundAsync(VoidRefundRequest voidRefundRequest,
String id,
ApiCallback<PtsV2PaymentsVoidsPost201Response> callback)
Void a Refund (asynchronously)
Include the refund ID in the POST request to cancel the refund.
|
okhttp3.Call |
voidRefundCall(VoidRefundRequest voidRefundRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for voidRefund
|
ApiResponse<PtsV2PaymentsVoidsPost201Response> |
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 okhttp3.Call mitVoidCall(MitVoidRequest mitVoidRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
mitVoidRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2PaymentsVoidsPost201Response mitVoid(MitVoidRequest mitVoidRequest) throws ApiException
mitVoidRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PtsV2PaymentsVoidsPost201Response> mitVoidWithHttpInfo(MitVoidRequest mitVoidRequest) throws ApiException
mitVoidRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call mitVoidAsync(MitVoidRequest mitVoidRequest, ApiCallback<PtsV2PaymentsVoidsPost201Response> callback) throws ApiException
mitVoidRequest - (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 okhttp3.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 PtsV2PaymentsVoidsPost201Response 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<PtsV2PaymentsVoidsPost201Response> 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 okhttp3.Call voidCaptureAsync(VoidCaptureRequest voidCaptureRequest, String id, ApiCallback<PtsV2PaymentsVoidsPost201Response> 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 okhttp3.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 PtsV2PaymentsVoidsPost201Response 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<PtsV2PaymentsVoidsPost201Response> 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 okhttp3.Call voidCreditAsync(VoidCreditRequest voidCreditRequest, String id, ApiCallback<PtsV2PaymentsVoidsPost201Response> 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 okhttp3.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 PtsV2PaymentsVoidsPost201Response 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<PtsV2PaymentsVoidsPost201Response> 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 okhttp3.Call voidPaymentAsync(VoidPaymentRequest voidPaymentRequest, String id, ApiCallback<PtsV2PaymentsVoidsPost201Response> 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 okhttp3.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 PtsV2PaymentsVoidsPost201Response 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<PtsV2PaymentsVoidsPost201Response> 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 okhttp3.Call voidRefundAsync(VoidRefundRequest voidRefundRequest, String id, ApiCallback<PtsV2PaymentsVoidsPost201Response> 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 © 2020. All rights reserved.