Package com.adyen.service.checkout
Class UtilityApi
- java.lang.Object
-
- com.adyen.Service
-
- com.adyen.service.checkout.UtilityApi
-
public class UtilityApi extends Service
-
-
Constructor Summary
Constructors Constructor Description UtilityApi(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApplePaySessionResponsegetApplePaySession(CreateApplePaySessionRequest createApplePaySessionRequest)Get an Apple Pay sessionApplePaySessionResponsegetApplePaySession(CreateApplePaySessionRequest createApplePaySessionRequest, RequestOptions requestOptions)Get an Apple Pay sessionCheckoutUtilityResponseoriginKeys(CheckoutUtilityRequest checkoutUtilityRequest)Deprecated.CheckoutUtilityResponseoriginKeys(CheckoutUtilityRequest checkoutUtilityRequest, RequestOptions requestOptions)Deprecated.-
Methods inherited from class com.adyen.Service
createBaseURL, getClient, isApiKeyRequired, setApiKeyRequired, setClient
-
-
-
-
Constructor Detail
-
UtilityApi
public UtilityApi(Client client)
-
-
Method Detail
-
getApplePaySession
public ApplePaySessionResponse getApplePaySession(CreateApplePaySessionRequest createApplePaySessionRequest) throws ApiException, IOException
Get an Apple Pay session- Parameters:
createApplePaySessionRequest-CreateApplePaySessionRequest(required)- Returns:
ApplePaySessionResponse- Throws:
ApiException- if fails to make API callIOException
-
getApplePaySession
public ApplePaySessionResponse getApplePaySession(CreateApplePaySessionRequest createApplePaySessionRequest, RequestOptions requestOptions) throws ApiException, IOException
Get an Apple Pay session- Parameters:
createApplePaySessionRequest-CreateApplePaySessionRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
ApplePaySessionResponse- Throws:
ApiException- if fails to make API callIOException
-
originKeys
@Deprecated public CheckoutUtilityResponse originKeys(CheckoutUtilityRequest checkoutUtilityRequest) throws ApiException, IOException
Deprecated.Create originKey values for domains- Parameters:
checkoutUtilityRequest-CheckoutUtilityRequest(required)- Returns:
CheckoutUtilityResponse- Throws:
ApiException- if fails to make API callIOException
-
originKeys
@Deprecated public CheckoutUtilityResponse originKeys(CheckoutUtilityRequest checkoutUtilityRequest, RequestOptions requestOptions) throws ApiException, IOException
Deprecated.Create originKey values for domains- Parameters:
checkoutUtilityRequest-CheckoutUtilityRequest(required)requestOptions-RequestOptionsObject to store additional data such as idempotency-keys (optional)- Returns:
CheckoutUtilityResponse- Throws:
ApiException- if fails to make API callIOException
-
-