Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.DiscountableItemInfo
Packages that use DiscountableItemInfo
Package
Description
-
Uses of DiscountableItemInfo in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor that return DiscountableItemInfoModifier and TypeMethodDescriptionprotected DiscountableItemInfoDefaultFulfillmentGroupOfferProcessor.calculateDiscountableItemTotal(EnhancedFulfillmentGroup efg, CandidateFulfillmentGroupOffer co, OfferProcessingContext context, CombinedTypesOfferPermutation ctop) protected DiscountableItemInfoDefaultFulfillmentGroupOfferProcessor.calculateDiscountableItemTotal(EnhancedFulfillmentGroup efg, OfferProcessingContext context, CombinedTypesOfferPermutation ctop) Deprecated.protected DiscountableItemInfoDefaultOrderOfferProcessor.calculateDiscountableItemTotal(List<EnhancedOrderLineItem> relevantItems, CandidateOrderOffer orderOffer, OfferProcessingContext context, CombinedTypesOfferPermutation ctop, OrderOfferPermutationResult orderResult) Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor with parameters of type DiscountableItemInfoModifier and TypeMethodDescriptionprotected doubleDefaultFulfillmentGroupOfferProcessor.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
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper with parameters of type DiscountableItemInfoModifier and TypeMethodDescriptionjavax.money.MonetaryAmountDefaultOrderAndItemOfferHelper.calculateFulfillmentItemTotalFromPermutation(Optional<ItemOfferPermutationResult> itemResult, EnhancedFulfillmentLineItem item, DiscountableItemInfo discountableItemTotal) javax.money.MonetaryAmountOrderAndItemOfferHelper.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.MonetaryAmountDefaultOrderAndItemOfferHelper.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.MonetaryAmountOrderAndItemOfferHelper.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
Methods in com.broadleafcommerce.promotion.offer.service.engine.proration with parameters of type DiscountableItemInfoModifier and TypeMethodDescriptionDefaultProrationService.buildProratedOrderAdjustments(OrderOfferAdjustment offerAdjustment, List<? extends EnhancedLineItem> lineItems, DiscountableItemInfo discountableItemInfo) ProrationService.buildProratedOrderAdjustments(OrderOfferAdjustment offerAdjustment, List<? extends EnhancedLineItem> lineItems, DiscountableItemInfo discountableItemInfo) Builds a list ofEnhancedProratedOfferAdjustmentsthat prorates the adjustment value of the passed inOrderOfferAdjustmentto the passed in list of relevantEnhancedLineItemsprotected 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.