Class BraintreeServiceAutoConfiguration
java.lang.Object
com.broadleafcommerce.braintree.autoconfigure.BraintreeServiceAutoConfiguration
@Configuration
@EnableConfigurationProperties({BraintreeConfigurationProperties.class,DefaultBraintreeGatewayConfiguration.class,ExternalBraintreeProviderProperties.class})
public class BraintreeServiceAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbraintreeAuthorizeAndCaptureResponseTransformer
(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) braintreeAuthorizeResponseTransformer
(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) braintreeCaptureResponseTransformer
(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) braintreeClientTokenService
(BraintreeProvider braintreeProvider) braintreeExternalCallService
(com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, BraintreeProvider braintreeProvider, ExternalBraintreeProviderProperties properties, BraintreeConfigurationProperties braintreeConfigurationProperties, List<ResponseTransformer> transformers, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) org.springframework.web.reactive.function.client.WebClient
braintreeGatewayWebClient
(com.fasterxml.jackson.databind.ObjectMapper objectMapper) braintreePaymentValidator
(BraintreeGatewayConfiguration gatewayConfiguration) braintreeProvider
(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalBraintreeProviderProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, BraintreeConfigurationProperties braintreeConfigurationProperties) braintreeRefundResponseTransformer
(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) braintreeReverseAuthorizeResponseTransformer
(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) braintreeTransactionService
(BraintreeExternalCallService braintreeExternalCallService, com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, BraintreeProvider braintreeProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-
Constructor Details
-
BraintreeServiceAutoConfiguration
public BraintreeServiceAutoConfiguration()
-
-
Method Details
-
braintreeClientTokenService
@Bean @ConditionalOnMissingBean public BraintreeClientTokenService braintreeClientTokenService(BraintreeProvider braintreeProvider) -
braintreePaymentValidator
@Bean @ConditionalOnMissingBean public BraintreePaymentValidator braintreePaymentValidator(BraintreeGatewayConfiguration gatewayConfiguration) -
braintreeTransactionService
@Bean @ConditionalOnMissingBean public BraintreeTransactionService braintreeTransactionService(BraintreeExternalCallService braintreeExternalCallService, com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, BraintreeProvider braintreeProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
braintreeRollbackService
@Bean @ConditionalOnMissingBean public BraintreeRollbackService braintreeRollbackService(BraintreeTransactionService service) -
braintreeGatewayWebClient
@Bean @ConditionalOnMissingBean(name="braintreeGatewayWebClient") public org.springframework.web.reactive.function.client.WebClient braintreeGatewayWebClient(com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
braintreeAuthorizeResponseTransformer
@Bean @ConditionalOnMissingBean(name="braintreeAuthorizeResponseTransformer") public ResponseTransformer braintreeAuthorizeResponseTransformer(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
braintreeAuthorizeAndCaptureResponseTransformer
@Bean @ConditionalOnMissingBean(name="braintreeAuthorizeAndCaptureResponseTransformer") public ResponseTransformer braintreeAuthorizeAndCaptureResponseTransformer(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
braintreeReverseAuthorizeResponseTransformer
@Bean @ConditionalOnMissingBean(name="braintreeReverseAuthorizeResponseTransformer") public ResponseTransformer braintreeReverseAuthorizeResponseTransformer(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
braintreeCaptureResponseTransformer
@Bean @ConditionalOnMissingBean(name="braintreeCaptureResponseTransformer") public ResponseTransformer braintreeCaptureResponseTransformer(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
braintreeRefundResponseTransformer
@Bean @ConditionalOnMissingBean(name="braintreeRefundResponseTransformer") public ResponseTransformer braintreeRefundResponseTransformer(BraintreeConfigurationProperties configProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
braintreeProvider
@Bean @ConditionalOnMissingBean public BraintreeProvider braintreeProvider(@Qualifier("braintreeGatewayWebClient") org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalBraintreeProviderProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, BraintreeConfigurationProperties braintreeConfigurationProperties) -
braintreeExternalCallService
@Bean @ConditionalOnMissingBean public BraintreeExternalCallService braintreeExternalCallService(com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, BraintreeProvider braintreeProvider, ExternalBraintreeProviderProperties properties, BraintreeConfigurationProperties braintreeConfigurationProperties, List<ResponseTransformer> transformers, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
-