Interface FulfillmentPricingService
- All Known Implementing Classes:
DefaultFulfillmentPricingService
public interface FulfillmentPricingService
Routes
FulfillmentPricingRequest
to the appropriate FulfillmentPricingProvider
.- Author:
- Cade Rea (cade-rea)
-
Method Summary
Modifier and TypeMethodDescriptiondefault com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse
getFulfillmentOptionPricedResponse
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest) Deprecated, for removal: This API element is subject to removal in a future version.com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse
getFulfillmentOptionPricedResponse
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Get a singleFulfillmentOptionPricedResponse
that corresponds to the fulfillment option set on the given pricing request.default List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse>
getFulfillmentOptionPricedResponses
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest) Deprecated, for removal: This API element is subject to removal in a future version.since 1.1.0, in favor ofgetFulfillmentOptionPricedResponses(FulfillmentPricingRequest, ContextInfo)
List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse>
getFulfillmentOptionPricedResponses
(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Get all shipping options for a givenFulfillmentPricingRequest
-
Method Details
-
getFulfillmentOptionPricedResponses
@Deprecated(since="1.1.0", forRemoval=true) default List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse> getFulfillmentOptionPricedResponses(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest) Deprecated, for removal: This API element is subject to removal in a future version.since 1.1.0, in favor ofgetFulfillmentOptionPricedResponses(FulfillmentPricingRequest, ContextInfo)
Get all shipping options for a givenFulfillmentPricingRequest
- Parameters:
fpRequest
-- Returns:
-
getFulfillmentOptionPricedResponse
@Deprecated(since="1.1.0", forRemoval=true) default com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse getFulfillmentOptionPricedResponse(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest) Deprecated, for removal: This API element is subject to removal in a future version.since 1.1.0, in favor ofgetFulfillmentOptionPricedResponse(FulfillmentPricingRequest, ContextInfo)
Get a singleFulfillmentOptionPricedResponse
that corresponds to the fulfillment option set on the given pricing request.- Parameters:
fpRequest
-- Returns:
-
getFulfillmentOptionPricedResponses
List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse> getFulfillmentOptionPricedResponses(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Get all shipping options for a givenFulfillmentPricingRequest
- Parameters:
fpRequest
-contextInfo
- context information around sandbox and multitenant state- Returns:
-
getFulfillmentOptionPricedResponse
com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse getFulfillmentOptionPricedResponse(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Get a singleFulfillmentOptionPricedResponse
that corresponds to the fulfillment option set on the given pricing request.- Parameters:
fpRequest
-contextInfo
- context information around sandbox and multitenant state- Returns:
-
getFulfillmentOptionPricedResponse(FulfillmentPricingRequest, ContextInfo)