Uses of Class
com.broadleafcommerce.promotion.offer.domain.DiscountTier
Packages that use DiscountTier
Package
Description
-
Uses of DiscountTier in com.broadleafcommerce.promotion.offer.domain
Methods in com.broadleafcommerce.promotion.offer.domain that return types with arguments of type DiscountTierModifier and TypeMethodDescriptionOffer.getDiscountTiers()
List ofdiscount tiers
determining the discount applied with this offer.Methods in com.broadleafcommerce.promotion.offer.domain with parameters of type DiscountTierModifier and TypeMethodDescriptionint
DiscountTier.compareTo
(DiscountTier that) Compares priorities.Method parameters in com.broadleafcommerce.promotion.offer.domain with type arguments of type DiscountTierModifier and TypeMethodDescriptionvoid
Offer.setDiscountTiers
(List<DiscountTier> discountTiers) List ofdiscount tiers
determining the discount applied with this offer. -
Uses of DiscountTier in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor that return types with arguments of type DiscountTierModifier and TypeMethodDescriptionprotected Optional<DiscountTier>
DefaultOrderOfferProcessor.findMaxDiscountTier
(CandidateOrderOffer offer, javax.money.MonetaryAmount amount) -
Uses of DiscountTier 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 DiscountTierModifier and TypeMethodDescriptionprotected DiscountTier
DefaultPotentialSavingsCalculator.getMaxTierForTieredItemQty
(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers, int quantityForTierOffer) protected DiscountTier
DefaultPotentialSavingsCalculator.getMaxTierForTieredItemSubtotal
(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers, BigDecimal amountForTierOffer) Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item that return types with arguments of type DiscountTierModifier and TypeMethodDescriptionprotected Optional<DiscountTier>
DefaultPotentialSavingsCalculator.determineMaxTier
(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers) Method parameters in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item with type arguments of type DiscountTierModifier and TypeMethodDescriptionprotected Optional<DiscountTier>
DefaultPotentialSavingsCalculator.determineMaxTier
(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers) protected DiscountTier
DefaultPotentialSavingsCalculator.getMaxTierForTieredItemQty
(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers, int quantityForTierOffer) protected DiscountTier
DefaultPotentialSavingsCalculator.getMaxTierForTieredItemSubtotal
(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers, BigDecimal amountForTierOffer) -
Uses of DiscountTier in com.broadleafcommerce.promotion.offer.service.validation
Methods in com.broadleafcommerce.promotion.offer.service.validation with parameters of type DiscountTierModifier and TypeMethodDescriptionprotected void
OfferValidator.validateDiscountTier
(Offer offer, DiscountTier discountTier, org.springframework.validation.Errors errors, String offerDiscountStrategy)