public interface PayPalClientProvider
PayPalHttpClient with which
to execute requests based on PayPalCheckoutConfiguration. It also provides common
configuration for outgoing PayPal HttpRequests.| Modifier and Type | Method and Description |
|---|---|
void |
configureRequest(com.paypal.http.HttpRequest<?> request,
org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequest)
Configures the
PayPal request based on the PaymentRequestDTO. |
com.paypal.core.PayPalHttpClient |
getClient()
Returns the configured
PayPalHttpClient. |
com.paypal.core.PayPalHttpClient getClient()
PayPalHttpClient.PayPalHttpClient.void configureRequest(com.paypal.http.HttpRequest<?> request,
org.broadleafcommerce.common.payment.dto.PaymentRequestDTO paymentRequest)
PayPal request based on the PaymentRequestDTO. This
will add the request ID and various headers common to all requests.request - The HttpRequest to configurepaymentRequest - The PaymentRequestDTO sent to the gatewayCopyright © 2021. All rights reserved.