Uses of Class
com.broadleafcommerce.promotion.offer.web.context.info.EnhancedProratedOfferAdjustment
Package
Description
-
Uses of EnhancedProratedOfferAdjustment in com.broadleafcommerce.promotion.offer.service.dto
Modifier and TypeMethodDescriptionOrderOfferPermutationResult.getItemIdOrderOfferProrationMap()
OfferProcessingContext.getItemProratedAdjustmentsMap()
Modifier and TypeMethodDescriptionvoid
OrderOfferPermutationResult.addProratedOfferAdjustments
(Set<EnhancedProratedOfferAdjustment> proratedOfferAdjustments) -
Uses of EnhancedProratedOfferAdjustment in com.broadleafcommerce.promotion.offer.service.engine.proration
Modifier and TypeMethodDescription<D extends EnhancedProratedOfferAdjustment>
voidMoneyRoundingHelper.roundProratedAdjustments
(Collection<D> proratedOfferAdjustments, javax.money.MonetaryAmount adjustmentsTotal, javax.money.CurrencyUnit currency) Rounds the givenEnhancedProratedOfferAdjustments
.<D extends EnhancedProratedOfferAdjustment>
voidMoneyRoundingHelper.roundProratedFulfillmentGroupAdjustments
(EnhancedFulfillmentGroup group, Collection<D> proratedOfferAdjustments, javax.money.MonetaryAmount adjustmentsTotal, javax.money.CurrencyUnit currency) Rounds the givenEnhancedFulfillmentGroup.getProratedFulfillmentAdjustments()
andEnhancedProratedOfferAdjustments
.protected <D extends EnhancedProratedOfferAdjustment>
voidMoneyRoundingHelper.updateProratedAdjustmentsWithRoundedAdjustments
(Collection<D> proratedAdjustments, Map<String, javax.money.MonetaryAmount> proratedAdjustmentAmounts, javax.money.CurrencyUnit currency) Sets the new rounded adjustment values on the givenEnhancedProratedOfferAdjustments
Modifier and TypeMethodDescriptionDefaultProrationService.buildProratedOrderAdjustments
(OrderOfferAdjustment offerAdjustment, List<? extends EnhancedLineItem> lineItems, DiscountableItemInfo discountableItemInfo) ProrationService.buildProratedOrderAdjustments
(OrderOfferAdjustment offerAdjustment, List<? extends EnhancedLineItem> lineItems, DiscountableItemInfo discountableItemInfo) Builds a list ofEnhancedProratedOfferAdjustments
that prorates the adjustment value of the passed inOrderOfferAdjustment
to the passed in list of relevantEnhancedLineItem
sprotected Set<EnhancedProratedOfferAdjustment>
DefaultProrationService.prorateAdjustmentAmongItems
(Offer offer, javax.money.MonetaryAmount adjustmentAmount, DiscountableItemInfo discountableItemInfo, List<? extends EnhancedLineItem> lineItems, boolean updateItem) Prorates the given adjustment across the givenEnhancedLineItems
.Modifier and TypeMethodDescriptionprotected void
DefaultProrationService.populateItemQuantitesProrationDetails
(@NonNull Set<EnhancedProratedOfferAdjustment> proratedOfferAdjustments) PopulatesItemProrationDetails
to represent how anEnhancedProratedOfferAdjustment
can be prorated down to an item quantity level.