Uses of Class
com.broadleafcommerce.fulfillment.service.dto.FulfillmentPricingContext
Package
Description
-
Uses of FulfillmentPricingContext in com.broadleafcommerce.fulfillment.provider
Modifier and TypeMethodDescriptionprotected List<FulfillmentCalculator>
ItemAttributeFlatRateFulfillmentCalculatorProvider.buildFlatRateCalculators
(FulfillmentPricingContext context) ItemAttributeFlatRateFulfillmentCalculatorProvider.buildServiceLevels
(FulfillmentPricingContext context) DBFulfillmentCalculatorProvider.findEligibleFulfillmentPricingCalculators
(FulfillmentPricingContext context, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns a list of FulfillmentCalculator objects based on the passed in context.FulfillmentCalculatorProvider.findEligibleFulfillmentPricingCalculators
(FulfillmentPricingContext context, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns a list of FulffillmentCalculator objects based on the passed in context.ItemAttributeFlatRateFulfillmentCalculatorProvider.findEligibleFulfillmentPricingCalculators
(FulfillmentPricingContext context, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns a list of FulffillmentCalculator objects based on the passed in context. -
Uses of FulfillmentPricingContext in com.broadleafcommerce.fulfillment.service
Modifier and TypeMethodDescriptionprotected FulfillmentPricingContext
DefaultFulfillmentOptionService.initializeFulfillmentPricingContext
(com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Modifier and TypeMethodDescriptionprotected com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse
DefaultFulfillmentOptionService.buildOptions
(FulfillmentPricingContext fpContext, List<FulfillmentCalculator> calculators) Given a list of fulfillment calculators sorted in the order they should be run, build a FulfillmentResponse.protected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByCurrency
(FulfillmentPricingContext pricingContext) Filter calculators based on the currencies on the pricingContext.DefaultFulfillmentCalculatorFilterService.filterCalculatorsForRequest
(FulfillmentPricingContext pricingContext, List<FulfillmentCalculator> calculators) FulfillmentCalculatorFilterService.filterCalculatorsForRequest
(FulfillmentPricingContext context, List<FulfillmentCalculator> calculators) DefaultFulfillmentCalculatorService.findEligibleFulfillmentPricingCalculators
(FulfillmentPricingContext context, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Given theFulfillmentPricingContext
, this method returns a list of eligibleFulfillmentCalculator
calculators that can be used to compute option pricing.FulfillmentCalculatorService.findEligibleFulfillmentPricingCalculators
(FulfillmentPricingContext context, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Given theFulfillmentPricingContext
, this method returns a list of eligibleFulfillmentCalculator
calculators that can be used to compute option pricing.protected String
DefaultFulfillmentCalculatorService.getDefaultServiceLevelForGroup
(FulfillmentPricingContext context, EnhancedFulfillmentPricingGroup group) protected FulfillmentPriceResultHolder
DefaultFulfillmentCalculatorService.initializeFulfillmentPriceResultHolderCommon
(FulfillmentPricingContext context, EnhancedFulfillmentPricingGroup group, FulfillmentCalculator calculator, boolean existingOnlyFlag) protected FulfillmentPriceResultHolder
DefaultFulfillmentCalculatorService.initializeFulfillmentPriceResultHolderForGroup
(FulfillmentPricingContext context, EnhancedFulfillmentPricingGroup group, FulfillmentCalculator calculator, boolean existingOnlyFlag) protected FulfillmentPriceResultHolder
DefaultFulfillmentCalculatorService.initializeFulfillmentPriceResultHolderForItem
(FulfillmentPricingContext context, EnhancedFulfillmentPricingItem item, FulfillmentCalculator calculator, boolean existingOnlyFlag) protected void
DefaultFulfillmentOptionService.populateGroupResponses
(com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse response, FulfillmentPricingContext context) protected void
DefaultFulfillmentOptionService.populateItemResponses
(com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse response, FulfillmentPricingContext context) protected void
DefaultFulfillmentCalculatorService.priceFulfillmentGroup
(FulfillmentPricingContext context, EnhancedFulfillmentPricingGroup group, FulfillmentCalculator calculator, boolean existingOnly) void
DefaultFulfillmentCalculatorService.priceFulfillmentGroups
(FulfillmentPricingContext context, List<FulfillmentCalculator> calculators) Delegates toDefaultFulfillmentCalculatorService.priceFulfillmentGroups(FulfillmentPricingContext, List, boolean)
with the value from the request.protected void
DefaultFulfillmentCalculatorService.priceFulfillmentGroups
(FulfillmentPricingContext context, List<FulfillmentCalculator> calculatorsParam, boolean priceCurrentServiceLevelsOnly) Modifies the passed inEnhancedFulfillmentPricingGroup
and its containedItems
with the computed price information.void
FulfillmentCalculatorService.priceFulfillmentGroups
(FulfillmentPricingContext context, List<FulfillmentCalculator> calculators) Price the passed ingetPricingGroups()
using the passed in calculators.protected void
DefaultFulfillmentCalculatorService.priceFulfillmentItem
(FulfillmentPricingContext context, EnhancedFulfillmentPricingItem item, List<FulfillmentCalculator> calculators) void
DefaultFulfillmentCalculatorService.priceFulfillmentItems
(FulfillmentPricingContext context, List<FulfillmentCalculator> calculatorsParam) Attempts to price items within the passed in fulfillment group according to the semantics of the passed in calculator.void
FulfillmentCalculatorService.priceFulfillmentItems
(FulfillmentPricingContext context, List<FulfillmentCalculator> calculators) Price the passed ingetPricingGroups()
using the passed in calculators. -
Uses of FulfillmentPricingContext in com.broadleafcommerce.fulfillment.service.dto
Modifier and TypeFieldDescriptionprotected FulfillmentPricingContext
FulfillmentPriceResultHolder.context
Modifier and TypeMethodDescriptionvoid
FulfillmentPriceResultHolder.setContext
(FulfillmentPricingContext context)