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