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 boolean
DefaultOrderOfferProcessor.shouldIncludeItem
(EnhancedOrderLineItem item, EnhancedOrder order, CandidateOrderOffer offer) protected boolean
DefaultOrderOfferProcessor.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 DiscountableItemInfo
DefaultOrderOfferProcessor.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.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 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.MonetaryAmount
DefaultOfferCandidateService.calculateStandardPriceSavings
(EnhancedOrderLineItem item, CandidateItemOffer itemOffer) protected boolean
DefaultOfferCandidateService.shouldIncludeItem
(EnhancedOrderLineItem item, EnhancedOrder order, BaseCandidateOffer offer) Deprecated, for removal: This API element is subject to removal in a future version.protected boolean
DefaultOfferCandidateService.shouldIncludeItem
(EnhancedOrderLineItem item, EnhancedOrder order, BaseCandidateOffer offer, boolean allowMatchesOnNonDiscountableItems) Whether the givenEnhancedOrderLineItem
should be considered when evaluating anItemCriteriaRule
.protected boolean
DefaultOfferCandidateService.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 theItemCriteriaRule
against theOrder's line items
to 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 correspondingEnhancedOrderLineItem
for 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 void
EnhancedOrder.addChildrenForItem
(EnhancedOrderLineItem parent, Collection<EnhancedOrderLineItem> allPotentialChildren) protected void
EnhancedOrder.buildFulfillmentLineItem
(EnhancedFulfillmentLineItem enhancedFulfillmentLineItem, EnhancedOrderLineItem orderLineItem, int remainingQty) protected int
EnhancedOrder.calculateRemainingQuantity
(EnhancedOrderLineItem orderItem) protected Optional<EnhancedFulfillmentGroup>
EnhancedOrder.determineFulfillmentGroupForOrderItem
(EnhancedOrderLineItem orderItem) boolean
EnhancedOrderLineItem.isAParentOf
(EnhancedOrderLineItem potentialChild) Determines whether this item is a direct parent or general ancestor of the given item.void
EnhancedFulfillmentLineItem.setOrderLineItem
(EnhancedOrderLineItem orderLineItem) The correspondingEnhancedOrderLineItem
for thisEnhancedFulfillmentLineItem
.void
EnhancedOrderLineItem.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 void
EnhancedOrder.addChildrenForItem
(EnhancedOrderLineItem parent, Collection<EnhancedOrderLineItem> allPotentialChildren) void
EnhancedOrderLineItem.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.void
EnhancedOrder.setOrderLineItems
(List<EnhancedOrderLineItem> orderLineItems) void
EnhancedOrder.setSegmentLineItemsMap
(Map<String, List<EnhancedOrderLineItem>> segmentLineItemsMap)
DefaultOfferCandidateService.shouldIncludeItem(EnhancedOrderLineItem, EnhancedOrder, BaseCandidateOffer, boolean)
.