Class ExternalShippingProvider
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.AbstractExternalProvider
com.broadleafcommerce.cartoperation.service.provider.external.ExternalShippingProvider
- All Implemented Interfaces:
ShippingProvider
-
Field Summary
Fields inherited from class com.broadleafcommerce.cartoperation.service.provider.external.AbstractExternalProvider
ENTITY_NOT_FOUND
-
Constructor Summary
ConstructorDescriptionExternalShippingProvider
(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, ExternalShippingProperties shippingProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse
getFulfillmentRate
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse>
getFulfillmentRates
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse>
Deprecated, for removal: This API element is subject to removal in a future version.protected List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse>
getRates
(String uri, com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected String
protected String
protected ExternalShippingProperties
Methods inherited from class com.broadleafcommerce.cartoperation.service.provider.external.AbstractExternalProvider
buildNotFoundException, executeRequest, getHeaders, getObjectMapper, getTypeFactory, getWebClient, isEntityNotFound, pageableToParams, uriVars
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.cartoperation.service.provider.ShippingProvider
getFulfillmentRate, getFulfillmentRates
-
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
-
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 interfaceShippingProvider
-
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 interfaceShippingProvider
-
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.since 1.8.0, in favor ofgetRates(String, FulfillmentPricingRequest, ContextInfo)
-
getRates
-
getAllRatesUrl
-
getRateUrl
-
getShippingProperties
-
getRates(String, FulfillmentPricingRequest, ContextInfo)