Interface CheckoutComApplePayWebClientProvider
- All Known Implementing Classes:
DefaultCheckoutComApplePayWebClientProvider
public interface CheckoutComApplePayWebClientProvider
The provider that is used to create the
WebClient
with the SslContext
and Apple
Pay certificates. This client should be used to validate the merchant session.- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.reactive.function.client.WebClient
getApplePayWebClient
(String applicationId, String tenantId) Create and return theWebClient
with the Apple Pay certificates.
-
Method Details
-
getApplePayWebClient
org.springframework.web.reactive.function.client.WebClient getApplePayWebClient(@Nullable String applicationId, @Nullable String tenantId) throws CheckoutComApplePayCertificateException Create and return theWebClient
with the Apple Pay certificates.- Parameters:
applicationId
- the application idtenantId
- the tenant id- Returns:
- the web client with the Apple Pay certificates
- Throws:
CheckoutComApplePayCertificateException
-