Package com.adyen.service.checkout
Class ClassicCheckoutSdkApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.checkout.ClassicCheckoutSdkApi
-
public class ClassicCheckoutSdkApi extends Service
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPI_VERSIONprotected StringbaseURL
-
Constructor Summary
Constructors Constructor Description ClassicCheckoutSdkApi(Client client)Classic Checkout SDK constructor inpackage.ClassicCheckoutSdkApi(Client client, String baseURL)Classic Checkout SDK constructor inpackage.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PaymentSetupResponsepaymentSession(PaymentSetupRequest paymentSetupRequest)Deprecated.since Adyen Checkout API v37PaymentSetupResponsepaymentSession(PaymentSetupRequest paymentSetupRequest, RequestOptions requestOptions)Deprecated.since Adyen Checkout API v37PaymentVerificationResponseverifyPaymentResult(PaymentVerificationRequest paymentVerificationRequest)Deprecated.since Adyen Checkout API v37PaymentVerificationResponseverifyPaymentResult(PaymentVerificationRequest paymentVerificationRequest, RequestOptions requestOptions)Deprecated.since Adyen Checkout API v37-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Field Detail
-
API_VERSION
public static final String API_VERSION
- See Also:
- Constant Field Values
-
baseURL
protected String baseURL
-
-
Constructor Detail
-
ClassicCheckoutSdkApi
public ClassicCheckoutSdkApi(Client client)
Classic Checkout SDK constructor inpackage.- Parameters:
client-Client(required)
-
ClassicCheckoutSdkApi
public ClassicCheckoutSdkApi(Client client, String baseURL)
Classic Checkout SDK constructor inpackage. Please use this constructor only if you would like to pass along your own url for routing or testing purposes. The latest API version is defined in this class as a constant.
-
-
Method Detail
-
paymentSession
@Deprecated public PaymentSetupResponse paymentSession(PaymentSetupRequest paymentSetupRequest) throws ApiException, IOException
Deprecated.since Adyen Checkout API v37Create a payment session- Parameters:
paymentSetupRequest-PaymentSetupRequest(required)- Returns:
PaymentSetupResponse- Throws:
ApiException- if fails to make API callIOException
-
paymentSession
@Deprecated public PaymentSetupResponse paymentSession(PaymentSetupRequest paymentSetupRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated.since Adyen Checkout API v37Create a payment session- Parameters:
paymentSetupRequest-PaymentSetupRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaymentSetupResponse- Throws:
ApiException- if fails to make API callIOException
-
verifyPaymentResult
@Deprecated public PaymentVerificationResponse verifyPaymentResult(PaymentVerificationRequest paymentVerificationRequest) throws ApiException, IOException
Deprecated.since Adyen Checkout API v37Verify a payment result- Parameters:
paymentVerificationRequest-PaymentVerificationRequest(required)- Returns:
PaymentVerificationResponse- Throws:
ApiException- if fails to make API callIOException
-
verifyPaymentResult
@Deprecated public PaymentVerificationResponse verifyPaymentResult(PaymentVerificationRequest paymentVerificationRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated.since Adyen Checkout API v37Verify a payment result- Parameters:
paymentVerificationRequest-PaymentVerificationRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
PaymentVerificationResponse- Throws:
ApiException- if fails to make API callIOException
-
-