Class ExternalShippingProvider

java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.AbstractExternalProvider
com.broadleafcommerce.cartoperation.service.provider.external.ExternalShippingProvider
All Implemented Interfaces:
ShippingProvider

public class ExternalShippingProvider extends AbstractExternalProvider implements ShippingProvider
  • Constructor Details

    • 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 Details

    • 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

      @Deprecated(since="1.8.0", forRemoval=true) protected List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse> getRates(String uri, com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • 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()
    • getShippingProperties

      protected ExternalShippingProperties getShippingProperties()