Uses of Class
com.broadleafcommerce.promotion.offer.web.context.EnhancedOrderLineItem
Packages that use EnhancedOrderLineItem
Package
Description
-
Uses of EnhancedOrderLineItem in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor that return types with arguments of type EnhancedOrderLineItemModifier and TypeMethodDescriptionprotected List<EnhancedOrderLineItem>DefaultOrderOfferProcessor.relevantSegmentItems(EnhancedOrder order, CandidateOrderOffer offer) Returns list of order items matching the offers segment and then filters the returned list by calling #shouldFilterItemMethods in com.broadleafcommerce.promotion.offer.service.engine.application.processor with parameters of type EnhancedOrderLineItemModifier and TypeMethodDescriptionprotected booleanDefaultOrderOfferProcessor.shouldIncludeItem(EnhancedOrderLineItem item, EnhancedOrder order, CandidateOrderOffer offer) protected booleanDefaultOrderOfferProcessor.shouldIncludeSegmentItem(EnhancedOrderLineItem item, EnhancedOrder order, CandidateOrderOffer offer) Filters items that are part of the offer being processed.Method parameters in com.broadleafcommerce.promotion.offer.service.engine.application.processor with type arguments of type EnhancedOrderLineItemModifier and TypeMethodDescriptionprotected DiscountableItemInfoDefaultOrderOfferProcessor.calculateDiscountableItemTotal(List<EnhancedOrderLineItem> relevantItems, CandidateOrderOffer orderOffer, OfferProcessingContext context, CombinedTypesOfferPermutation ctop, OrderOfferPermutationResult orderResult) -
Uses of EnhancedOrderLineItem 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 EnhancedOrderLineItemModifier and TypeMethodDescriptionjavax.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 EnhancedOrderLineItem in com.broadleafcommerce.promotion.offer.service.engine.candidate
Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate with parameters of type EnhancedOrderLineItemModifier and TypeMethodDescriptionprotected javax.money.MonetaryAmountDefaultOfferCandidateService.calculateStandardPriceSavings(EnhancedOrderLineItem item, CandidateItemOffer itemOffer) protected booleanDefaultOfferCandidateService.shouldIncludeItem(EnhancedOrderLineItem item, EnhancedOrder order, BaseCandidateOffer offer) Deprecated, for removal: This API element is subject to removal in a future version.protected booleanDefaultOfferCandidateService.shouldIncludeItem(EnhancedOrderLineItem item, EnhancedOrder order, BaseCandidateOffer offer, boolean allowMatchesOnNonDiscountableItems) Whether the givenEnhancedOrderLineItemshould be considered when evaluating anItemCriteriaRule.protected booleanDefaultOfferCandidateService.shouldIncludeOnSaleItem(EnhancedOrderLineItem item, BaseCandidateOffer candidateOffer) Method parameters in com.broadleafcommerce.promotion.offer.service.engine.candidate with type arguments of type EnhancedOrderLineItemModifier and TypeMethodDescriptionprotected Set<EnhancedLineItem>DefaultOfferCandidateService.evaluateOrderForMatchingItems(@NonNull List<EnhancedOrderLineItem> orderLineItems, @NonNull ItemCriteriaRule itemCriteriaRule, boolean allowMatchesOnNonDiscountableItems) Evaluates theItemCriteriaRuleagainst theOrder's line itemsto determine if the order matches. -
Uses of EnhancedOrderLineItem in com.broadleafcommerce.promotion.offer.web.context
Methods in com.broadleafcommerce.promotion.offer.web.context that return EnhancedOrderLineItemModifier and TypeMethodDescriptionEnhancedFulfillmentLineItem.getOrderLineItem()The correspondingEnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem.EnhancedOrderLineItem.getParent()Not part of the incoming or outgoing payloads but populated at the start of the offer engine in order to provide faster lookup during processing.Methods in com.broadleafcommerce.promotion.offer.web.context that return types with arguments of type EnhancedOrderLineItemModifier and TypeMethodDescriptionEnhancedOrderLineItem.getChildren()Not part of the incoming or outgoing payloads but populated at the start of the offer engine in order to provide faster lookup during processing.EnhancedOrder.getOrderLineItems()EnhancedOrder.getOrderLineItemsForOfferSegment(String segment) EnhancedOrder.getSegmentLineItemsMap()Methods in com.broadleafcommerce.promotion.offer.web.context with parameters of type EnhancedOrderLineItemModifier and TypeMethodDescriptionprotected voidEnhancedOrder.addChildrenForItem(EnhancedOrderLineItem parent, Collection<EnhancedOrderLineItem> allPotentialChildren) protected voidEnhancedOrder.buildFulfillmentLineItem(EnhancedFulfillmentLineItem enhancedFulfillmentLineItem, EnhancedOrderLineItem orderLineItem, int remainingQty) protected intEnhancedOrder.calculateRemainingQuantity(EnhancedOrderLineItem orderItem) protected Optional<EnhancedFulfillmentGroup>EnhancedOrder.determineFulfillmentGroupForOrderItem(EnhancedOrderLineItem orderItem) booleanEnhancedOrderLineItem.isAParentOf(EnhancedOrderLineItem potentialChild) Determines whether this item is a direct parent or general ancestor of the given item.voidEnhancedFulfillmentLineItem.setOrderLineItem(EnhancedOrderLineItem orderLineItem) The correspondingEnhancedOrderLineItemfor thisEnhancedFulfillmentLineItem.voidEnhancedOrderLineItem.setParent(EnhancedOrderLineItem parent) Not part of the incoming or outgoing payloads but populated at the start of the offer engine in order to provide faster lookup during processing.Method parameters in com.broadleafcommerce.promotion.offer.web.context with type arguments of type EnhancedOrderLineItemModifier and TypeMethodDescriptionprotected voidEnhancedOrder.addChildrenForItem(EnhancedOrderLineItem parent, Collection<EnhancedOrderLineItem> allPotentialChildren) voidEnhancedOrderLineItem.setChildren(Set<EnhancedOrderLineItem> children) Not part of the incoming or outgoing payloads but populated at the start of the offer engine in order to provide faster lookup during processing.voidEnhancedOrder.setOrderLineItems(List<EnhancedOrderLineItem> orderLineItems) voidEnhancedOrder.setSegmentLineItemsMap(Map<String, List<EnhancedOrderLineItem>> segmentLineItemsMap)
DefaultOfferCandidateService.shouldIncludeItem(EnhancedOrderLineItem, EnhancedOrder, BaseCandidateOffer, boolean).