Class ShipEngineAutoConfiguration
java.lang.Object
com.broadleafcommerce.shipping.service.integrations.shipengine.config.ShipEngineAutoConfiguration
@Configuration
@EnableConfigurationProperties(ShipEngineProperties.class)
@AutoConfigureAfter(ShippingServicesAutoConfiguration.class)
@ConditionalOnProperty(prefix="broadleaf.shipping.service.shipengine",
name="active",
havingValue="true",
matchIfMissing=false)
public class ShipEngineAutoConfiguration
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionshipEngineFulfillmentPricingProvider
(DefaultShipEngineService shipEngineService, ShipEngineProperties shipEngineProperties, ShipmentDetailsService<ShipmentDetails> shipmentDetailsService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) com.fasterxml.jackson.databind.ObjectMapper
shipEngineService
(org.springframework.web.reactive.function.client.WebClient shipEngineWebClient, ShipEngineProperties shipEngineProperties, WeightCalculationService weightCalculationService) org.springframework.web.reactive.function.client.WebClient
shipEngineWebClient
(ShipEngineProperties shipEngineProperties, com.fasterxml.jackson.databind.ObjectMapper shipEngineObjectMapper)
-
Field Details
-
API_KEY_HEADER
- See Also:
-
-
Constructor Details
-
ShipEngineAutoConfiguration
public ShipEngineAutoConfiguration()
-
-
Method Details
-
shipEngineService
@Bean @ConditionalOnMissingBean public DefaultShipEngineService shipEngineService(@Qualifier("shipEngineWebClient") org.springframework.web.reactive.function.client.WebClient shipEngineWebClient, ShipEngineProperties shipEngineProperties, WeightCalculationService weightCalculationService) -
shipEngineFulfillmentPricingProvider
@Bean @ConditionalOnMissingBean public ShipEngineFulfillmentPricingProvider shipEngineFulfillmentPricingProvider(DefaultShipEngineService shipEngineService, ShipEngineProperties shipEngineProperties, ShipmentDetailsService<ShipmentDetails> shipmentDetailsService, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
shipEngineWebClient
@Bean @ConditionalOnMissingBean(name="shipEngineWebClient") public org.springframework.web.reactive.function.client.WebClient shipEngineWebClient(ShipEngineProperties shipEngineProperties, @Qualifier("shipEngineObjectMapper") com.fasterxml.jackson.databind.ObjectMapper shipEngineObjectMapper) -
shipEngineObjectMapper
@Bean @ConditionalOnMissingBean(name="shipEngineObjectMapper") public com.fasterxml.jackson.databind.ObjectMapper shipEngineObjectMapper()
-