Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.OfferProcessingContext
-
-
Uses of OfferProcessingContext in com.broadleafcommerce.promotion.offer.service.engine
Methods in com.broadleafcommerce.promotion.offer.service.engine that return OfferProcessingContext Modifier and Type Method Description OfferProcessingContextDefaultOfferEngineService. prepareOfferProcessingContext(EnhancedOrder order, CandidateOffers candidateOffers)This method takes in a set of candidate offers.OfferProcessingContextOfferProcesingUtility. prepareOfferProcessingContext(EnhancedOrder order, CandidateOffers candidateOffers)Methods in com.broadleafcommerce.promotion.offer.service.engine with parameters of type OfferProcessingContext Modifier and Type Method Description protected voidOfferProcesingUtility. addNodes(CompatiblePermutationNode parentNode, OfferProcessingContext context, List<Set<OfferCombinabilityCriteria>> offerTypeCriteria, LinkedHashSet<CompatiblePermutationNode> allNodesSet)voidDefaultOfferEngineService. applyAdjustments(EnhancedOrder order, OfferProcessingContext processingContext)voidOfferEngineService. applyAdjustments(EnhancedOrder order, OfferProcessingContext processingContext)Applies the offers to the order in a way that gives the best discount for the customer based on possible permutations.protected voidOfferProcesingUtility. buildCombinedOfferTypePermutations(EnhancedOrder order, OfferProcessingContext context)Each offer type (e.g.voidDefaultOfferEngineService. processOfferPermutations(OfferProcessingContext context) -
Uses of OfferProcessingContext in com.broadleafcommerce.promotion.offer.service.engine.application
Methods in com.broadleafcommerce.promotion.offer.service.engine.application with parameters of type OfferProcessingContext Modifier and Type Method Description EnhancedOrderDefaultOfferApplicationService. applyAdjustments(OfferProcessingContext context)EnhancedOrderOfferApplicationService. applyAdjustments(OfferProcessingContext context)Applies the adjustments to the EnhancedOrder and returns the order with adjustments applied and totals updated.protected voidDefaultOfferApplicationService. applyFulfillmentGroupAdjustments(OfferProcessingContext context)protected voidDefaultOfferApplicationService. applyFulfillmentItemAdjustments(OfferProcessingContext context)protected voidDefaultOfferApplicationService. applyItemAdjustments(OfferProcessingContext context)protected voidDefaultOfferApplicationService. applyOfferAdjustments(OfferProcessingContext context)protected voidDefaultOfferApplicationService. prepareForItemOfferProcessing(OfferProcessingContext context)Before scoring item offer permutations, it is helpful to prepare the list of offers by calculating potential savings, sorting, and enforcing in order max-uses rules.voidDefaultOfferApplicationService. processOfferPermutations(OfferProcessingContext context)voidOfferApplicationService. processOfferPermutations(OfferProcessingContext context)Calculates the value of each offer permutation and determines the best combination of all offer types.protected voidDefaultOfferApplicationService. scoreFulfillmentGroupOfferPermutations(OfferProcessingContext context, CombinedTypesOfferPermutation combinedTypesOfferPermutation)protected voidDefaultOfferApplicationService. scoreFulfillmentItemOfferPermutations(OfferProcessingContext context, CombinedTypesOfferPermutation combinedTypesOfferPermutation)protected voidDefaultOfferApplicationService. scoreItemOfferPermutations(OfferProcessingContext context, CombinedTypesOfferPermutation combinedTypesOfferPermutation)protected voidDefaultOfferApplicationService. scoreOrderOfferPermutations(OfferProcessingContext context, CombinedTypesOfferPermutation combinedTypesOfferPermutation) -
Uses of OfferProcessingContext in com.broadleafcommerce.promotion.offer.service.engine.application.processor
-