Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.TotalPotentialSavings
Package
Description
-
Uses of TotalPotentialSavings in com.broadleafcommerce.promotion.offer.service.dto
Modifier 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
Modifier 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.Modifier 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.