public class Checkout extends ApiKeyAuthenticatedService
| Modifier and Type | Method and Description |
|---|---|
StandalonePaymentCancelResource |
cancels(CreateStandalonePaymentCancelRequest createStandalonePaymentCancelRequest)
POST /cancels
|
CheckoutCreateOrderResponse |
orders(CheckoutCreateOrderRequest checkoutCreateOrderRequest)
POST /orders API call
|
CheckoutCancelOrderResponse |
ordersCancel(CheckoutCancelOrderRequest checkoutCancelOrderRequest)
POST /orders/cancel API call
|
PaymentMethodsResponse |
paymentMethods(PaymentMethodsRequest paymentMethodsRequest)
POST /paymentMethods API call
|
PaymentResultResponse |
paymentResult(PaymentResultRequest paymentResultRequest)
POST payments/result API call
|
PaymentsResponse |
payments(PaymentsRequest paymentsRequest)
POST /payments API call
|
PaymentsResponse |
payments(PaymentsRequest paymentsRequest,
RequestOptions requestOptions) |
PaymentAmountUpdateResource |
paymentsAmountUpdates(String paymentPspReference,
CreatePaymentAmountUpdateRequest createPaymentAmountUpdateRequest)
POST /payments/{paymentPspReference}/amountUpdates
|
PaymentCancelResource |
paymentsCancels(String paymentPspReference,
CreatePaymentCancelRequest createPaymentCancelRequest)
POST /payments/{paymentPspReference}/cancels
|
PaymentCaptureResource |
paymentsCaptures(String paymentPspReference,
CreatePaymentCaptureRequest createPaymentCaptureRequest)
POST /payments/{paymentPspReference}/captures
|
PaymentsDetailsResponse |
paymentsDetails(PaymentsDetailsRequest paymentsDetailsRequest)
POST payments/details API call
|
PaymentsDetailsResponse |
paymentsDetails(PaymentsDetailsRequest paymentsDetailsRequest,
RequestOptions requestOptions) |
PaymentSessionResponse |
paymentSession(PaymentSessionRequest paymentSessionRequest)
POST /paymentSession API call
|
PaymentSessionResponse |
paymentSession(PaymentSessionRequest paymentSessionRequest,
RequestOptions requestOptions) |
PaymentRefundResource |
paymentsRefunds(String paymentPspReference,
CreatePaymentRefundRequest createPaymentRefundRequest)
POST /payments/{paymentPspReference}/refunds
|
PaymentReversalResource |
paymentsReversals(String paymentPspReference,
CreatePaymentReversalRequest createPaymentReversalRequest)
POST /payments/{paymentPspReference}/reversal
|
CreateCheckoutSessionResponse |
sessions(CreateCheckoutSessionRequest createCheckoutSessionRequest)
POST /sessions API call
|
StoredPaymentMethodResource |
storedPaymentMethods(CreateStoredPaymentMethodRequest createStoredPaymentMethodRequest)
POST /storedPaymentMethods API call
|
getClient, isApiKeyRequired, setApiKeyRequired, setClientpublic Checkout(Client client)
public PaymentsResponse payments(PaymentsRequest paymentsRequest) throws ApiException, IOException
paymentsRequest - PaymentsRequestIOException - IOExceptionApiException - ApiExceptionpublic PaymentsResponse payments(PaymentsRequest paymentsRequest, RequestOptions requestOptions) throws ApiException, IOException
ApiExceptionIOExceptionpublic PaymentMethodsResponse paymentMethods(PaymentMethodsRequest paymentMethodsRequest) throws ApiException, IOException
paymentMethodsRequest - PaymentMethodsRequestIOException - IOExceptionApiException - ApiExceptionpublic PaymentsDetailsResponse paymentsDetails(PaymentsDetailsRequest paymentsDetailsRequest) throws ApiException, IOException
paymentsDetailsRequest - paymentsDetailsRequestIOException - IOExceptionApiException - ApiExceptionpublic PaymentsDetailsResponse paymentsDetails(PaymentsDetailsRequest paymentsDetailsRequest, RequestOptions requestOptions) throws ApiException, IOException
ApiExceptionIOExceptionpublic PaymentSessionResponse paymentSession(PaymentSessionRequest paymentSessionRequest) throws ApiException, IOException
paymentSessionRequest - paymentSessionRequestIOException - IOExceptionApiException - ApiExceptionpublic PaymentSessionResponse paymentSession(PaymentSessionRequest paymentSessionRequest, RequestOptions requestOptions) throws ApiException, IOException
ApiExceptionIOExceptionpublic PaymentResultResponse paymentResult(PaymentResultRequest paymentResultRequest) throws ApiException, IOException
paymentResultRequest - paymentResultRequestIOException - IOExceptionApiException - ApiExceptionpublic StoredPaymentMethodResource storedPaymentMethods(CreateStoredPaymentMethodRequest createStoredPaymentMethodRequest) throws ApiException, IOException
createStoredPaymentMethodRequest - StoredPaymentMethodsRequestIOException - IOExceptionApiException - ApiExceptionpublic CheckoutCreateOrderResponse orders(CheckoutCreateOrderRequest checkoutCreateOrderRequest) throws ApiException, IOException
checkoutCreateOrderRequest - CheckoutCreateOrderRequestApiExceptionIOExceptionpublic CheckoutCancelOrderResponse ordersCancel(CheckoutCancelOrderRequest checkoutCancelOrderRequest) throws ApiException, IOException
checkoutCancelOrderRequest - CheckoutCancelOrderRequestApiExceptionIOExceptionpublic CreateCheckoutSessionResponse sessions(CreateCheckoutSessionRequest createCheckoutSessionRequest) throws ApiException, IOException
createCheckoutSessionRequest - CreateCheckoutSessionRequestApiExceptionIOExceptionpublic PaymentCaptureResource paymentsCaptures(String paymentPspReference, CreatePaymentCaptureRequest createPaymentCaptureRequest) throws ApiException, IOException
paymentPspReference - StringcreatePaymentCaptureRequest - CreatePaymentCaptureRequestApiExceptionIOExceptionpublic PaymentCancelResource paymentsCancels(String paymentPspReference, CreatePaymentCancelRequest createPaymentCancelRequest) throws ApiException, IOException
paymentPspReference - StringcreatePaymentCancelRequest - CreatePaymentCancelRequestApiExceptionIOExceptionpublic StandalonePaymentCancelResource cancels(CreateStandalonePaymentCancelRequest createStandalonePaymentCancelRequest) throws ApiException, IOException
createStandalonePaymentCancelRequest - CreateStandalonePaymentCancelRequestApiExceptionIOExceptionpublic PaymentReversalResource paymentsReversals(String paymentPspReference, CreatePaymentReversalRequest createPaymentReversalRequest) throws ApiException, IOException
paymentPspReference - StringcreatePaymentReversalRequest - CreatePaymentReversalRequestApiExceptionIOExceptionpublic PaymentRefundResource paymentsRefunds(String paymentPspReference, CreatePaymentRefundRequest createPaymentRefundRequest) throws ApiException, IOException
paymentPspReference - StringcreatePaymentRefundRequest - CreatePaymentRefundRequestApiExceptionIOExceptionpublic PaymentAmountUpdateResource paymentsAmountUpdates(String paymentPspReference, CreatePaymentAmountUpdateRequest createPaymentAmountUpdateRequest) throws ApiException, IOException
paymentPspReference - StringcreatePaymentAmountUpdateRequest - CreatePaymentAmountUpdateRequestApiExceptionIOExceptionCopyright © 2022. All rights reserved.