public class Checkout extends ApiKeyAuthenticatedService
GSON, isApiKeyRequired| Modifier and Type | Method and Description |
|---|---|
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) |
PaymentsResponse |
paymentsDetails(PaymentsDetailsRequest paymentsDetailsRequest)
POST payments/details API call
|
PaymentSessionResponse |
paymentSession(PaymentSessionRequest paymentSessionRequest)
POST /paymentSession API call
|
PaymentSessionResponse |
paymentSession(PaymentSessionRequest paymentSessionRequest,
RequestOptions requestOptions) |
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 PaymentsResponse paymentsDetails(PaymentsDetailsRequest paymentsDetailsRequest) throws ApiException, IOException
paymentsDetailsRequest - paymentsDetailsRequestIOException - IOExceptionApiException - ApiExceptionpublic 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 - ApiExceptionCopyright © 2019. All rights reserved.