Uses of Class
com.broadleafcommerce.promotion.offer.web.context.info.OfferDiscount
-
Packages that use OfferDiscount Package Description com.broadleafcommerce.promotion.offer.service.engine.application.processor com.broadleafcommerce.promotion.offer.web.context.info -
-
Uses of OfferDiscount in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor with parameters of type OfferDiscount Modifier and Type Method Description protected voidDefaultItemOfferProcessor. applyLineItemAdjustment(CandidateItemOffer itemOffer, LineItemOfferDetail offerDetail, OfferDiscount offerDiscount)Adds anItemOfferAdjustmentto the givenLineItemOfferDetail. -
Uses of OfferDiscount in com.broadleafcommerce.promotion.offer.web.context.info
Methods in com.broadleafcommerce.promotion.offer.web.context.info that return OfferDiscount Modifier and Type Method Description protected OfferDiscountLineItemOfferDetail. addNewTargetAndGet(com.broadleafcommerce.common.extension.TypeFactory offerFactory, CandidateItemOffer itemOffer)protected OfferDiscountOfferDiscount. copy(com.broadleafcommerce.common.extension.TypeFactory offerFactory)Creates a copy of this offer discount.Methods in com.broadleafcommerce.promotion.offer.web.context.info that return types with arguments of type OfferDiscount Modifier and Type Method Description Set<OfferDiscount>LineItemOfferDetail. getOfferDiscounts()Additional info for all theofferstreating theLineItemOfferDetail.lineItemas a target.protected Optional<OfferDiscount>LineItemOfferDetail. lookupOfferTargetByOffer(CandidateItemOffer itemOffer)Optional<OfferDiscount>OfferDiscount. split(com.broadleafcommerce.common.extension.TypeFactory offerFactory, int splitQty)Checks to see that the discount quantities match the target quantities.Methods in com.broadleafcommerce.promotion.offer.web.context.info with parameters of type OfferDiscount Modifier and Type Method Description protected LineItemOfferDetailLineItemOfferDetail. split(com.broadleafcommerce.common.extension.TypeFactory offerFactory, OfferDiscount offerDiscount)Splits this item into twoLineItemOfferDetailsand returns the newly createdLineItemOfferDetail.Method parameters in com.broadleafcommerce.promotion.offer.web.context.info with type arguments of type OfferDiscount Modifier and Type Method Description protected intLineItemOfferDetail. getQuantityOfItemsExclusivelyUsedAsTargets(CandidateItemOffer thisOffer, Set<OfferDiscount> offerDiscounts, boolean isForQualifierQty)Calculates the number oforder itemsalready exclusively used as targets.voidLineItemOfferDetail. setOfferDiscounts(Set<OfferDiscount> offerDiscounts)Additional info for all theofferstreating theLineItemOfferDetail.lineItemas a target.
-