Class ExternalShippingProvider

    • Constructor Detail

      • ExternalShippingProvider

        public ExternalShippingProvider​(org.springframework.web.reactive.function.client.WebClient webClient,
                                        com.fasterxml.jackson.databind.ObjectMapper objectMapper,
                                        com.broadleafcommerce.common.extension.TypeFactory typeFactory,
                                        ExternalShippingProperties shippingProperties)
    • Method Detail

      • getServiceClient

        protected String getServiceClient()
      • getFulfillmentRates

        public List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse> getFulfillmentRates​(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest,
                                                                                                               @Nullable
                                                                                                               com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Specified by:
        getFulfillmentRates in interface ShippingProvider
      • getFulfillmentRate

        public com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse getFulfillmentRate​(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest,
                                                                                                        @Nullable
                                                                                                        com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Specified by:
        getFulfillmentRate in interface ShippingProvider
      • getRates

        protected List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse> getRates​(String uri,
                                                                                                       com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest,
                                                                                                       @Nullable
                                                                                                       com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      • getAllRatesUrl

        protected String getAllRatesUrl()
      • getRateUrl

        protected String getRateUrl()