Class ShippingServicesAutoConfiguration
java.lang.Object
com.broadleafcommerce.shipping.service.autoconfigure.ShippingServicesAutoConfiguration
@Configuration
@EnableConfigurationProperties({ShippingServiceProperties.class,MeasurementProperties.class})
public class ShippingServicesAutoConfiguration
extends Object
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfulfillmentProviderService
(List<FulfillmentPricingProvider> fulfillmentPricingProviders) com.fasterxml.jackson.databind.ObjectMapper
shipmentDetailsService
(ShipmentDetailsRepository<com.broadleafcommerce.data.tracking.core.Trackable> shipmentDetailsRepository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper) shippingLabelProviderService
(List<ShippingLabelProvider> shippingLabelProviders) shippingWeightMathContext
(MeasurementProperties measurementProperties) weightCalculationService
(MathContext shippingWeightMathContext, com.fasterxml.jackson.databind.ObjectMapper mapper, MeasurementProperties measurementProperties)
-
Field Details
-
WEIGHT_ATTRIBUTE_KEY
- See Also:
-
-
Constructor Details
-
ShippingServicesAutoConfiguration
public ShippingServicesAutoConfiguration()
-
-
Method Details
-
objectMapper
@Bean @ConditionalOnMissingBean public com.fasterxml.jackson.databind.ObjectMapper objectMapper() -
fulfillmentProviderService
@Bean @ConditionalOnMissingBean public FulfillmentPricingService fulfillmentProviderService(List<FulfillmentPricingProvider> fulfillmentPricingProviders) -
shippingLabelProviderService
@Bean @ConditionalOnMissingBean public ShippingLabelProviderService shippingLabelProviderService(List<ShippingLabelProvider> shippingLabelProviders) -
shipmentDetailsService
@Bean @ConditionalOnMissingBean public ShipmentDetailsService<ShipmentDetails> shipmentDetailsService(ShipmentDetailsRepository<com.broadleafcommerce.data.tracking.core.Trackable> shipmentDetailsRepository, com.broadleafcommerce.data.tracking.core.service.CrudEntityHelper helper) -
weightCalculationService
@Bean @ConditionalOnMissingBean public WeightCalculationService weightCalculationService(MathContext shippingWeightMathContext, com.fasterxml.jackson.databind.ObjectMapper mapper, MeasurementProperties measurementProperties) -
shippingWeightMathContext
@Bean @ConditionalOnMissingBean public MathContext shippingWeightMathContext(MeasurementProperties measurementProperties)
-