Uses of Class
com.broadleafcommerce.promotion.offer.web.context.info.EnhancedProratedItemOfferAdjustment
Packages that use EnhancedProratedItemOfferAdjustment
Package
Description
-
Uses of EnhancedProratedItemOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine
Classes in com.broadleafcommerce.promotion.offer.service.engine with type parameters of type EnhancedProratedItemOfferAdjustmentModifier and TypeClassDescriptionclass
Methods in com.broadleafcommerce.promotion.offer.service.engine with parameters of type EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionprotected void
DefaultOfferEngineResponseBuilder.addOfferCodeToProratedItemAdjustmentIfUsed
(@NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.OfferRef offer, @NonNull EnhancedProratedItemOfferAdjustment proratedItemAdjustment, @NonNull OfferCodeData offerCodeData) Adds an offer code to the givenEnhancedProratedItemOfferAdjustment
if it is present on the order. -
Uses of EnhancedProratedItemOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine.proration
Methods in com.broadleafcommerce.promotion.offer.service.engine.proration that return EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionprotected EnhancedProratedItemOfferAdjustment
DefaultProrationService.calculateProrationItemAdjustment
(ItemOfferAdjustment adjustment) protected EnhancedProratedItemOfferAdjustment
DefaultProrationService.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 EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionDefaultProrationService.calculateProratedItemAdjustments
(EnhancedOrder order) ProrationService.calculateProratedItemAdjustments
(EnhancedOrder order) For anyOffer
that has aDiscount.prorationType
ofProrationType.TARGET_AND_QUALIFIER
, this will populate all of theProratedItemOfferAdjustments
on theLineItemOfferDetails
mostly for the sake of reporting instruments.Method parameters in com.broadleafcommerce.promotion.offer.service.engine.proration with type arguments of type EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionvoid
DefaultProrationService.addProratedItemOfferAdjustmentsToParentOfferDetails
(Collection<? extends EnhancedProratedItemOfferAdjustment> proratedAdjustments) void
ProrationService.addProratedItemOfferAdjustmentsToParentOfferDetails
(Collection<? extends EnhancedProratedItemOfferAdjustment> proratedAdjustments) Adds theProratedItemOfferAdjustments
to 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 EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionLineItemOfferDetail.getProratedAdjustments()
TheProratedItemOfferAdjustments
caused byoffers
withDiscount.getProrationType()
orProrationType.TARGET_AND_QUALIFIER
treating bothLineItemOfferDetail.lineItem
as a target and the items that qualify it.Method parameters in com.broadleafcommerce.promotion.offer.web.context.info with type arguments of type EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionvoid
LineItemOfferDetail.setProratedAdjustments
(Set<EnhancedProratedItemOfferAdjustment> proratedAdjustments) TheProratedItemOfferAdjustments
caused byoffers
withDiscount.getProrationType()
orProrationType.TARGET_AND_QUALIFIER
treating bothLineItemOfferDetail.lineItem
as a target and the items that qualify it.