Uses of Class
com.broadleafcommerce.promotion.offer.web.context.info.EnhancedProratedItemOfferAdjustment
-
-
Uses of EnhancedProratedItemOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine
Classes in com.broadleafcommerce.promotion.offer.service.engine with type parameters of type EnhancedProratedItemOfferAdjustment Modifier and Type Class Description classDefaultOfferEngineResponseBuilder<P extends EnhancedProratedItemOfferAdjustment> -
Uses of EnhancedProratedItemOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine.proration
Methods in com.broadleafcommerce.promotion.offer.service.engine.proration that return EnhancedProratedItemOfferAdjustment Modifier and Type Method Description protected EnhancedProratedItemOfferAdjustmentDefaultProrationService. calculateProrationItemAdjustment(ItemOfferAdjustment adjustment)protected EnhancedProratedItemOfferAdjustmentDefaultProrationService. createProratedAdjustment(Offer offer, EnhancedLineItem lineItem, LineItemOfferDetail parentDetail, javax.money.MonetaryAmount proratedAmt, int quantity)Methods in com.broadleafcommerce.promotion.offer.service.engine.proration that return types with arguments of type EnhancedProratedItemOfferAdjustment Modifier and Type Method Description Set<EnhancedProratedItemOfferAdjustment>DefaultProrationService. calculateProratedItemAdjustments(EnhancedOrder order)Set<EnhancedProratedItemOfferAdjustment>ProrationService. calculateProratedItemAdjustments(EnhancedOrder order)For anyOfferthat has aDiscount.prorationTypeofProrationType.TARGET_AND_QUALIFIER, this will populate all of theProratedItemOfferAdjustmentson theLineItemOfferDetailsmostly for the sake of reporting instruments.Method parameters in com.broadleafcommerce.promotion.offer.service.engine.proration with type arguments of type EnhancedProratedItemOfferAdjustment Modifier and Type Method Description voidDefaultProrationService. addProratedItemOfferAdjustmentsToParentOfferDetails(Collection<? extends EnhancedProratedItemOfferAdjustment> proratedAdjustments)voidProrationService. addProratedItemOfferAdjustmentsToParentOfferDetails(Collection<? extends EnhancedProratedItemOfferAdjustment> proratedAdjustments)Adds theProratedItemOfferAdjustmentsto their parentLineItemOfferDetails -
Uses of EnhancedProratedItemOfferAdjustment in com.broadleafcommerce.promotion.offer.web.context.info
Methods in com.broadleafcommerce.promotion.offer.web.context.info that return types with arguments of type EnhancedProratedItemOfferAdjustment Modifier and Type Method Description Set<EnhancedProratedItemOfferAdjustment>LineItemOfferDetail. getProratedAdjustments()TheProratedItemOfferAdjustmentscaused byofferswithDiscount.getProrationType()orProrationType.TARGET_AND_QUALIFIERtreating bothLineItemOfferDetail.lineItemas a target and the items that qualify it.Method parameters in com.broadleafcommerce.promotion.offer.web.context.info with type arguments of type EnhancedProratedItemOfferAdjustment Modifier and Type Method Description voidLineItemOfferDetail. setProratedAdjustments(Set<EnhancedProratedItemOfferAdjustment> proratedAdjustments)TheProratedItemOfferAdjustmentscaused byofferswithDiscount.getProrationType()orProrationType.TARGET_AND_QUALIFIERtreating bothLineItemOfferDetail.lineItemas a target and the items that qualify it.
-