Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.DiscountableItemInfo
Package
Description
-
Uses of DiscountableItemInfo in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Modifier and TypeMethodDescriptionprotected DiscountableItemInfo
DefaultFulfillmentGroupOfferProcessor.calculateDiscountableItemTotal
(EnhancedFulfillmentGroup efg, CandidateFulfillmentGroupOffer co, OfferProcessingContext context, CombinedTypesOfferPermutation ctop) protected DiscountableItemInfo
DefaultFulfillmentGroupOfferProcessor.calculateDiscountableItemTotal
(EnhancedFulfillmentGroup efg, OfferProcessingContext context, CombinedTypesOfferPermutation ctop) Deprecated.protected DiscountableItemInfo
DefaultOrderOfferProcessor.calculateDiscountableItemTotal
(List<EnhancedOrderLineItem> relevantItems, CandidateOrderOffer orderOffer, OfferProcessingContext context, CombinedTypesOfferPermutation ctop, OrderOfferPermutationResult orderResult) Modifier and TypeMethodDescriptionprotected double
DefaultFulfillmentGroupOfferProcessor.calculateFulfillmentItemTotal
(EnhancedFulfillmentLineItem fItem, CandidateFulfillmentGroupOffer groupOffer, CombinedTypesOfferPermutation ctop, DiscountableItemInfo discountableItemTotal) protected Optional<javax.money.MonetaryAmount>
DefaultOrderOfferProcessor.computeAdjustmentValue
(CandidateOrderOffer orderOffer, DiscountableItemInfo discountableItemInfo) Calculates the value of the adjustment by first getting the current value of the order and then calculating the value of this adjustment. -
Uses of DiscountableItemInfo in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper
Modifier and TypeMethodDescriptionjavax.money.MonetaryAmount
DefaultOrderAndItemOfferHelper.calculateFulfillmentItemTotalFromPermutation
(Optional<ItemOfferPermutationResult> itemResult, EnhancedFulfillmentLineItem item, DiscountableItemInfo discountableItemTotal) javax.money.MonetaryAmount
OrderAndItemOfferHelper.calculateFulfillmentItemTotalFromPermutation
(Optional<ItemOfferPermutationResult> itemResult, EnhancedFulfillmentLineItem item, DiscountableItemInfo discountableItemTotal) Uses the passed in results from a permutation result which holds the non-final item and offer adjustments relevant to the permutation.javax.money.MonetaryAmount
DefaultOrderAndItemOfferHelper.calculateItemTotalFromPermutation
(Optional<ItemOfferPermutationResult> itemResult, Optional<OrderOfferPermutationResult> orderResult, EnhancedOrderLineItem item, boolean excludeItemTotalsWithDiscounts, DiscountableItemInfo discountableItemTotal) Uses the passed in results from a permutation which stores the item adjustments and prorated order adjustments for an item.javax.money.MonetaryAmount
OrderAndItemOfferHelper.calculateItemTotalFromPermutation
(Optional<ItemOfferPermutationResult> itemResult, Optional<OrderOfferPermutationResult> orderResult, EnhancedOrderLineItem item, boolean excludeItemTotalsWithDiscounts, DiscountableItemInfo discountableItemTotal) Uses the passed in results from a permutation result which holds the non-final item and offer adjustments relevant to the permutation. -
Uses of DiscountableItemInfo in com.broadleafcommerce.promotion.offer.service.engine.proration
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
.