Interface FulfillmentOptionService
- All Known Implementing Classes:
DefaultFulfillmentOptionService
public interface FulfillmentOptionService
Service interface to retrieve a
FulfillmentOptionResponse
with 1 or more
PricedFulfillmentOptions
.- Author:
- Kelly Tisdell (ktisdell)
-
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse
findFulfillmentOptions
(com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Given theFulfillmentOptionRequest
, this method provides a map ofPriced Fulfillment Options
for the request.
-
Method Details
-
findFulfillmentOptions
com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse findFulfillmentOptions(@NonNull com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Given theFulfillmentOptionRequest
, this method provides a map ofPriced Fulfillment Options
for the request. The map will be per item or per group depending on the client'sFulfillmentPricingConfig.getFulfillmentPricingStrategy()
.- Parameters:
request
- which represents a lightweight Cart for the purpose of determining shippingcontextInfo
- the context info providing tenancy and application data among other things- Returns:
- FulfillmentOptionResponse containing a map of PricedFulfillmentOptions
-