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 -
Method Summary
Modifier and TypeMethodDescriptionpayPalApiProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalPayPalApiProperties properties, PayPalCheckoutApiProperties checkoutApiProperties) org.springframework.retry.support.RetryTemplateBy default this does not retry when a network or 5xx error is encounteredpayPalCheckoutHostedService(PayPalGatewayConfiguration gatewayConfiguration, PayPalCheckoutTransactionService transactionService) payPalCheckoutProvider(PayPalCheckoutApiProperties properties, PayPalGatewayConfiguration gatewayConfiguration) payPalCheckoutReportingService(PayPalApiProvider apiProvider, PayPalCheckoutProvider paypalCheckoutService, PayPalUtils utils) payPalCheckoutRollbackService(PayPalCheckoutTransactionService transactionService) payPalCheckoutTransactionService(PayPalCheckoutProvider paypalCheckoutService, PayPalApiProvider apiProvider, PayPalOrderService payPalOrderService, PayPalCheckoutApiProperties properties, org.springframework.retry.support.RetryTemplate retryTemplate, PayPalUtils utils) org.springframework.web.reactive.function.client.WebClientpayPalGatewayWebClient(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>payPalPaymentGatewayPaymentValidator(PayPalGatewayConfiguration gatewayConfiguration) payPalUtils(com.fasterxml.jackson.databind.ObjectMapper mapper)
-
Constructor Details
-
PayPalGatewayAutoConfiguration
public PayPalGatewayAutoConfiguration()
-
-
Method Details
-
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)
-