public class PaymentsApi extends Object
| Constructor and Description |
|---|
PaymentsApi() |
PaymentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
PtsV2PaymentsPost201Response |
createPayment(CreatePaymentRequest createPaymentRequest)
Process a Payment
A payment authorizes the amount for the transaction.
|
okhttp3.Call |
createPaymentAsync(CreatePaymentRequest createPaymentRequest,
ApiCallback<PtsV2PaymentsPost201Response> callback)
Process a Payment (asynchronously)
A payment authorizes the amount for the transaction.
|
okhttp3.Call |
createPaymentCall(CreatePaymentRequest createPaymentRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createPayment
|
ApiResponse<PtsV2PaymentsPost201Response> |
createPaymentWithHttpInfo(CreatePaymentRequest createPaymentRequest)
Process a Payment
A payment authorizes the amount for the transaction.
|
ApiClient |
getApiClient() |
PtsV2IncrementalAuthorizationPatch201Response |
incrementAuth(String id,
IncrementAuthRequest incrementAuthRequest)
Increment an Authorization
Use this service to authorize additional charges in a lodging or autorental transaction.
|
okhttp3.Call |
incrementAuthAsync(String id,
IncrementAuthRequest incrementAuthRequest,
ApiCallback<PtsV2IncrementalAuthorizationPatch201Response> callback)
Increment an Authorization (asynchronously)
Use this service to authorize additional charges in a lodging or autorental transaction.
|
okhttp3.Call |
incrementAuthCall(String id,
IncrementAuthRequest incrementAuthRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for incrementAuth
|
ApiResponse<PtsV2IncrementalAuthorizationPatch201Response> |
incrementAuthWithHttpInfo(String id,
IncrementAuthRequest incrementAuthRequest)
Increment an Authorization
Use this service to authorize additional charges in a lodging or autorental transaction.
|
void |
setApiClient(ApiClient apiClient) |
public PaymentsApi()
public PaymentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createPaymentCall(CreatePaymentRequest createPaymentRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createPaymentRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2PaymentsPost201Response createPayment(CreatePaymentRequest createPaymentRequest) throws ApiException
createPaymentRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PtsV2PaymentsPost201Response> createPaymentWithHttpInfo(CreatePaymentRequest createPaymentRequest) throws ApiException
createPaymentRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createPaymentAsync(CreatePaymentRequest createPaymentRequest, ApiCallback<PtsV2PaymentsPost201Response> callback) throws ApiException
createPaymentRequest - (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 incrementAuthCall(String id, IncrementAuthRequest incrementAuthRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The ID returned from the original authorization request. (required)incrementAuthRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2IncrementalAuthorizationPatch201Response incrementAuth(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException
id - The ID returned from the original authorization request. (required)incrementAuthRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PtsV2IncrementalAuthorizationPatch201Response> incrementAuthWithHttpInfo(String id, IncrementAuthRequest incrementAuthRequest) throws ApiException
id - The ID returned from the original authorization request. (required)incrementAuthRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call incrementAuthAsync(String id, IncrementAuthRequest incrementAuthRequest, ApiCallback<PtsV2IncrementalAuthorizationPatch201Response> callback) throws ApiException
id - The ID returned from the original authorization request. (required)incrementAuthRequest - (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.