Class PayPalGatewayAutoConfiguration
- java.lang.Object
-
- com.broadleafcommerce.paypal.micro.gateway.autoconfigure.PayPalGatewayAutoConfiguration
-
@Configuration @EnableConfigurationProperties({PayPalCheckoutApiProperties.class,PayPalGatewayConfiguration.class,ExternalPayPalApiProperties.class}) public class PayPalGatewayAutoConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description PayPalGatewayAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PayPalApiProvider
payPalApiProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalPayPalApiProperties properties, PayPalCheckoutApiProperties checkoutApiProperties)
org.springframework.retry.support.RetryTemplate
payPalCheckoutExternalCallRetryTemplate()
By default this does not retry when a network or 5xx error is encounteredPayPalCheckoutHostedService
payPalCheckoutHostedService(PayPalGatewayConfiguration gatewayConfiguration, PayPalCheckoutTransactionService transactionService)
PayPalCheckoutProvider
payPalCheckoutProvider(PayPalCheckoutApiProperties properties, PayPalGatewayConfiguration gatewayConfiguration)
PayPalCheckoutReportingService
payPalCheckoutReportingService(PayPalApiProvider apiProvider, PayPalCheckoutProvider paypalCheckoutService, PayPalUtils utils)
PayPalCheckoutRollbackService
payPalCheckoutRollbackService(PayPalCheckoutTransactionService transactionService)
PayPalCheckoutTransactionService
payPalCheckoutTransactionService(PayPalCheckoutProvider paypalCheckoutService, PayPalApiProvider apiProvider, PayPalOrderService payPalOrderService, PayPalCheckoutApiProperties properties, org.springframework.retry.support.RetryTemplate retryTemplate, PayPalUtils utils)
org.springframework.web.reactive.function.client.WebClient
payPalGatewayWebClient(Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction>
payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier(PayPalCheckoutApiProperties properties)
PayPalPaymentGatewayPaymentValidator
payPalPaymentGatewayPaymentValidator(PayPalGatewayConfiguration gatewayConfiguration)
PayPalUtils
payPalUtils(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
-
-
Method Detail
-
payPalUtils
@Bean @ConditionalOnMissingBean public PayPalUtils payPalUtils(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
payPalCheckoutProvider
@Bean @ConditionalOnMissingBean public PayPalCheckoutProvider payPalCheckoutProvider(PayPalCheckoutApiProperties properties, PayPalGatewayConfiguration gatewayConfiguration)
-
payPalCheckoutExternalCallRetryTemplate
@Bean @ConditionalOnMissingBean(name="payPalCheckoutExternalCallRetryTemplate") public org.springframework.retry.support.RetryTemplate payPalCheckoutExternalCallRetryTemplate()
By default this does not retry when a network or 5xx error is encountered
-
payPalCheckoutTransactionService
@Bean @ConditionalOnMissingBean public PayPalCheckoutTransactionService payPalCheckoutTransactionService(PayPalCheckoutProvider paypalCheckoutService, PayPalApiProvider apiProvider, PayPalOrderService payPalOrderService, PayPalCheckoutApiProperties properties, @Qualifier("payPalCheckoutExternalCallRetryTemplate") org.springframework.retry.support.RetryTemplate retryTemplate, PayPalUtils utils)
-
payPalCheckoutRollbackService
@Bean @ConditionalOnMissingBean public PayPalCheckoutRollbackService payPalCheckoutRollbackService(PayPalCheckoutTransactionService transactionService)
-
payPalCheckoutHostedService
@Bean @ConditionalOnMissingBean public PayPalCheckoutHostedService payPalCheckoutHostedService(PayPalGatewayConfiguration gatewayConfiguration, PayPalCheckoutTransactionService transactionService)
-
payPalCheckoutReportingService
@Bean @ConditionalOnMissingBean public PayPalCheckoutReportingService payPalCheckoutReportingService(PayPalApiProvider apiProvider, PayPalCheckoutProvider paypalCheckoutService, PayPalUtils utils)
-
payPalPaymentGatewayPaymentValidator
@Bean @ConditionalOnMissingBean public PayPalPaymentGatewayPaymentValidator payPalPaymentGatewayPaymentValidator(PayPalGatewayConfiguration gatewayConfiguration)
-
payPalGatewayWebClient
@Bean @ConditionalOnMissingBean(name="payPalGatewayWebClient") public org.springframework.web.reactive.function.client.WebClient payPalGatewayWebClient(@Qualifier("payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier") Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier
@Bean @ConditionalOnMissingBean(name="payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier") public Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> payPalOAuth2AuthorizedClientExchangeFilterFunctionSupplier(PayPalCheckoutApiProperties properties)
-
payPalApiProvider
@Bean @ConditionalOnMissingBean public PayPalApiProvider payPalApiProvider(@Qualifier("payPalGatewayWebClient") org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalPayPalApiProperties properties, PayPalCheckoutApiProperties checkoutApiProperties)
-
-