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 TypeClassDescriptionclassMethods in com.broadleafcommerce.promotion.offer.service.engine with parameters of type EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionprotected voidDefaultOfferEngineResponseBuilder.addOfferCodeToProratedItemAdjustmentIfUsed(@NonNull com.broadleafcommerce.promotion.offer.client.web.context.info.OfferRef offer, @NonNull EnhancedProratedItemOfferAdjustment proratedItemAdjustment, @NonNull OfferCodeData offerCodeData) Adds an offer code to the givenEnhancedProratedItemOfferAdjustmentif 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 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 EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionDefaultProrationService.calculateProratedItemAdjustments(EnhancedOrder order) 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 EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionvoidDefaultProrationService.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 EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionLineItemOfferDetail.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 EnhancedProratedItemOfferAdjustmentModifier and TypeMethodDescriptionvoidLineItemOfferDetail.setProratedAdjustments(Set<EnhancedProratedItemOfferAdjustment> proratedAdjustments) TheProratedItemOfferAdjustmentscaused byofferswithDiscount.getProrationType()orProrationType.TARGET_AND_QUALIFIERtreating bothLineItemOfferDetail.lineItemas a target and the items that qualify it.