Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.TotalPotentialSavings
Packages that use TotalPotentialSavings
Package
Description
-
Uses of TotalPotentialSavings in com.broadleafcommerce.promotion.offer.service.dto
Methods in com.broadleafcommerce.promotion.offer.service.dto that return TotalPotentialSavingsModifier and TypeMethodDescriptionTotalPotentialSavings.withAmount
(javax.money.MonetaryAmount amount) TotalPotentialSavings.withWeightedSavingsPercentage
(BigDecimal weightedSavingsPercentage) -
Uses of TotalPotentialSavings in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item that return TotalPotentialSavingsModifier and TypeMethodDescriptionDefaultPotentialSavingsCalculator.calculatePotentialSavingsForOffer
(EnhancedOrder order, CandidateItemOffer itemOffer, boolean isForFulfillment) PotentialSavingsCalculator.calculatePotentialSavingsForOffer
(EnhancedOrder order, CandidateItemOffer itemOffer, boolean isForFulfillment) Calculates theTotalPotentialSavings
for all of the givenEnhancedOrder.getOrderLineItems()
order's order line items} if the givenCandidateItemOffer
was applied.Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item with parameters of type TotalPotentialSavingsModifier and TypeMethodDescriptionvoid
DefaultPotentialSavingsCalculator.finalizePotentialSavingsOnOffer
(CandidateItemOffer itemOffer, TotalPotentialSavings totalPotentialSavings) void
PotentialSavingsCalculator.finalizePotentialSavingsOnOffer
(CandidateItemOffer itemOffer, TotalPotentialSavings totalPotentialSavings) Saves the finalBaseCandidateOffer.getPotentialSavings()
andCandidateItemOffer.getWeightedPercentSaved()
for all of anEnhancedOrder.getOrderLineItems()
order's order items} if the givenCandidateItemOffer
was applied.