public class PaymentsApi extends Object
| Constructor and Description |
|---|
PaymentsApi() |
PaymentsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
PtsV2PaymentsOrderPost201Response |
createOrderRequest(OrderPaymentRequest orderPaymentRequest,
String id)
Create a Payment Order Request
Create a Payment Order Request
|
okhttp3.Call |
createOrderRequestAsync(OrderPaymentRequest orderPaymentRequest,
String id,
ApiCallback<PtsV2PaymentsOrderPost201Response> callback)
Create a Payment Order Request (asynchronously)
Create a Payment Order Request
|
okhttp3.Call |
createOrderRequestCall(OrderPaymentRequest orderPaymentRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createOrderRequest
|
ApiResponse<PtsV2PaymentsOrderPost201Response> |
createOrderRequestWithHttpInfo(OrderPaymentRequest orderPaymentRequest,
String id)
Create a Payment Order Request
Create a Payment Order Request
|
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.
|
PtsV2PaymentsPost201Response2 |
createSessionRequest(CreateSessionReq createSessionReq)
Create Alternative Payments Sessions Request
Create Alternative Payments Sessions Request
|
okhttp3.Call |
createSessionRequestAsync(CreateSessionReq createSessionReq,
ApiCallback<PtsV2PaymentsPost201Response2> callback)
Create Alternative Payments Sessions Request (asynchronously)
Create Alternative Payments Sessions Request
|
okhttp3.Call |
createSessionRequestCall(CreateSessionReq createSessionReq,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createSessionRequest
|
ApiResponse<PtsV2PaymentsPost201Response2> |
createSessionRequestWithHttpInfo(CreateSessionReq createSessionReq)
Create Alternative Payments Sessions Request
Create Alternative Payments Sessions Request
|
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.
|
PtsV2PaymentsPost201Response1 |
refreshPaymentStatus(String id,
RefreshPaymentStatusRequest refreshPaymentStatusRequest)
Check a Payment Status
Checks and updates the payment status
|
okhttp3.Call |
refreshPaymentStatusAsync(String id,
RefreshPaymentStatusRequest refreshPaymentStatusRequest,
ApiCallback<PtsV2PaymentsPost201Response1> callback)
Check a Payment Status (asynchronously)
Checks and updates the payment status
|
okhttp3.Call |
refreshPaymentStatusCall(String id,
RefreshPaymentStatusRequest refreshPaymentStatusRequest,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for refreshPaymentStatus
|
ApiResponse<PtsV2PaymentsPost201Response1> |
refreshPaymentStatusWithHttpInfo(String id,
RefreshPaymentStatusRequest refreshPaymentStatusRequest)
Check a Payment Status
Checks and updates the payment status
|
void |
setApiClient(ApiClient apiClient) |
PtsV2PaymentsPost201Response2 |
updateSessionReq(CreateSessionRequest createSessionRequest,
String id)
Update Alternative Payments Sessions Request
Update Alternative Payments Sessions Request
|
okhttp3.Call |
updateSessionReqAsync(CreateSessionRequest createSessionRequest,
String id,
ApiCallback<PtsV2PaymentsPost201Response2> callback)
Update Alternative Payments Sessions Request (asynchronously)
Update Alternative Payments Sessions Request
|
okhttp3.Call |
updateSessionReqCall(CreateSessionRequest createSessionRequest,
String id,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateSessionReq
|
ApiResponse<PtsV2PaymentsPost201Response2> |
updateSessionReqWithHttpInfo(CreateSessionRequest createSessionRequest,
String id)
Update Alternative Payments Sessions Request
Update Alternative Payments Sessions Request
|
public PaymentsApi()
public PaymentsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createOrderRequestCall(OrderPaymentRequest orderPaymentRequest, String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
orderPaymentRequest - (required)id - Request identifier number for the order request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2PaymentsOrderPost201Response createOrderRequest(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException
orderPaymentRequest - (required)id - Request identifier number for the order request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PtsV2PaymentsOrderPost201Response> createOrderRequestWithHttpInfo(OrderPaymentRequest orderPaymentRequest, String id) throws ApiException
orderPaymentRequest - (required)id - Request identifier number for the order request. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createOrderRequestAsync(OrderPaymentRequest orderPaymentRequest, String id, ApiCallback<PtsV2PaymentsOrderPost201Response> callback) throws ApiException
orderPaymentRequest - (required)id - Request identifier number for the order 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 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 createSessionRequestCall(CreateSessionReq createSessionReq, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createSessionReq - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2PaymentsPost201Response2 createSessionRequest(CreateSessionReq createSessionReq) throws ApiException
createSessionReq - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PtsV2PaymentsPost201Response2> createSessionRequestWithHttpInfo(CreateSessionReq createSessionReq) throws ApiException
createSessionReq - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createSessionRequestAsync(CreateSessionReq createSessionReq, ApiCallback<PtsV2PaymentsPost201Response2> callback) throws ApiException
createSessionReq - (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 objectpublic okhttp3.Call refreshPaymentStatusCall(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - The payment id whose status needs to be checked and updated. (required)refreshPaymentStatusRequest - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2PaymentsPost201Response1 refreshPaymentStatus(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException
id - The payment id whose status needs to be checked and updated. (required)refreshPaymentStatusRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<PtsV2PaymentsPost201Response1> refreshPaymentStatusWithHttpInfo(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest) throws ApiException
id - The payment id whose status needs to be checked and updated. (required)refreshPaymentStatusRequest - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call refreshPaymentStatusAsync(String id, RefreshPaymentStatusRequest refreshPaymentStatusRequest, ApiCallback<PtsV2PaymentsPost201Response1> callback) throws ApiException
id - The payment id whose status needs to be checked and updated. (required)refreshPaymentStatusRequest - (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 updateSessionReqCall(CreateSessionRequest createSessionRequest, String id, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
createSessionRequest - (required)id - The payment ID. This ID is returned from a previous payment request. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic PtsV2PaymentsPost201Response2 updateSessionReq(CreateSessionRequest createSessionRequest, String id) throws ApiException
createSessionRequest - (required)id - The payment ID. This ID is 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<PtsV2PaymentsPost201Response2> updateSessionReqWithHttpInfo(CreateSessionRequest createSessionRequest, String id) throws ApiException
createSessionRequest - (required)id - The payment ID. This ID is 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 updateSessionReqAsync(CreateSessionRequest createSessionRequest, String id, ApiCallback<PtsV2PaymentsPost201Response2> callback) throws ApiException
createSessionRequest - (required)id - The payment ID. This ID is 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 objectCopyright © 2025. All rights reserved.