Uses of Interface
com.broadleafcommerce.fulfillment.service.dto.calculator.FulfillmentCalculator
Package
Description
-
Uses of FulfillmentCalculator in com.broadleafcommerce.fulfillment.provider
Modifier and TypeMethodDescriptionprotected FulfillmentCalculator
ItemAttributeFlatRateFulfillmentCalculatorProvider.buildCalculatorForServiceLevel
(String serviceLevel) Modifier and TypeMethodDescriptionprotected List<FulfillmentCalculator>
ItemAttributeFlatRateFulfillmentCalculatorProvider.buildFlatRateCalculators
(FulfillmentPricingContext context) protected List<FulfillmentCalculator>
DBFulfillmentCalculatorProvider.convertConfigsToCalculators
(List<P> configs) 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 FulfillmentCalculator in com.broadleafcommerce.fulfillment.service
Modifier and TypeMethodDescriptionprotected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByCurrency
(FulfillmentPricingContext pricingContext) Filter calculators based on the currencies on the pricingContext.protected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByEnabled
(Instant now) Don't consider calculators that are not enabled.protected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByFulfillmentType
(EnhancedFulfillmentPricingGroup group) Filter calculators based on fulfillmentTypeprotected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByGroupFulfillmentDestination
(com.broadleafcommerce.fulfillment.common.domain.Address address) Deprecated.protected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByGroupFulfillmentDestination
(EnhancedFulfillmentPricingGroup group) Filter calculators based on Addressprotected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByInventoryType
(EnhancedFulfillmentPricingGroup group) Filter calculators based on inventoryTypeprotected Predicate<FulfillmentCalculator>
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByOrigin
(EnhancedFulfillmentPricingGroup group) Filter calculators based on OriginDefaultFulfillmentCalculatorFilterService.filterCalculatorsForGroup
(EnhancedFulfillmentPricingGroup group, List<FulfillmentCalculator> calculators) FulfillmentCalculatorFilterService.filterCalculatorsForGroup
(EnhancedFulfillmentPricingGroup group, List<FulfillmentCalculator> calculators) 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.Modifier and TypeMethodDescriptionprotected void
DefaultFulfillmentCalculationService.calculateFlatRateFulfillmentPricesFromAttributes
(FulfillmentPriceResultHolder resultHolder, FulfillmentCalculator calculator) protected String
DefaultFulfillmentOptionService.determineFulfillmentType
(EnhancedFulfillmentPricingGroup pricingGroup, FulfillmentCalculator calculator) protected List<EnhancedFulfillmentPricingItem>
DefaultFulfillmentCalculatorService.filterItemsCalculatorCanHandle
(List<EnhancedFulfillmentPricingItem> items, FulfillmentCalculator calculator, String defaultServiceLevel, boolean filterExisting) 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
DefaultFulfillmentCalculatorService.priceFulfillmentGroup
(FulfillmentPricingContext context, EnhancedFulfillmentPricingGroup group, FulfillmentCalculator calculator, boolean existingOnly) protected void
DefaultFulfillmentCalculationService.priceOtherCalculatorTypes
(FulfillmentPriceResultHolder resultHolder, FulfillmentCalculator flatRateCalculator) 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.DefaultFulfillmentCalculatorFilterService.filterCalculatorsForGroup
(EnhancedFulfillmentPricingGroup group, List<FulfillmentCalculator> calculators) FulfillmentCalculatorFilterService.filterCalculatorsForGroup
(EnhancedFulfillmentPricingGroup group, List<FulfillmentCalculator> calculators) DefaultFulfillmentCalculatorFilterService.filterCalculatorsForRequest
(FulfillmentPricingContext pricingContext, List<FulfillmentCalculator> calculators) FulfillmentCalculatorFilterService.filterCalculatorsForRequest
(FulfillmentPricingContext context, List<FulfillmentCalculator> calculators) 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> eligibleCalculators, 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 inFulfillmentPricingContext.getPricingGroups()
using the passed in calculators.protected void
DefaultFulfillmentCalculatorService.priceFulfillmentItem
(FulfillmentPricingContext context, EnhancedFulfillmentPricingItem item, List<FulfillmentCalculator> calculators) void
DefaultFulfillmentCalculatorService.priceFulfillmentItems
(FulfillmentPricingContext context, List<FulfillmentCalculator> eligibleCalculators) 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 inFulfillmentPricingContext.getPricingGroups()
using the passed in calculators.protected void
DefaultFulfillmentCalculatorService.sortFulfillmentCalculators
(List<FulfillmentCalculator> calculators) Sorts the list of calculators using theDefaultFulfillmentCalculatorComparator
. -
Uses of FulfillmentCalculator in com.broadleafcommerce.fulfillment.service.dto
Modifier and TypeFieldDescriptionprotected FulfillmentCalculator
FulfillmentPriceResultHolder.calculator
Modifier and TypeMethodDescriptionFulfillmentItemPriceResult.getCalculator()
The id that calculated this price result.FulfillmentPriceResultHolder.getCalculator()
Modifier and TypeMethodDescriptionEnhancedFulfillmentPricingGroup.getCalcResultMap()
Map used for items by service level.FulfillmentPricingContext.getCalculatorPricedItemMap()
Map to hold Calculator and Items Priced by Calculator.GroupServiceLevelPriceResult.getCalculators()
Modifier and TypeMethodDescriptionvoid
FulfillmentItemPriceResult.setCalculator
(FulfillmentCalculator calculator) The id that calculated this price result.void
FulfillmentPriceResultHolder.setCalculator
(FulfillmentCalculator calculator) void
GroupServiceLevelPriceResult.updateResult
(@NonNull FulfillmentCalculator calculator, javax.money.MonetaryAmount totalToAdd) -
Uses of FulfillmentCalculator in com.broadleafcommerce.fulfillment.service.dto.calculator
Modifier and TypeClassDescriptionclass
class
Calculator that calculates flat rates based on the attributes of theFulfillmentPricingItem
Modifier and TypeMethodDescriptionint
DefaultFulfillmentCalculatorComparator.compare
(FulfillmentCalculator c1, FulfillmentCalculator c2)
DefaultFulfillmentCalculatorFilterService.filterCalculatorsByGroupFulfillmentDestination(EnhancedFulfillmentPricingGroup)
.