Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.CandidateItemOffer
Packages that use CandidateItemOffer
Package
Description
-
Uses of CandidateItemOffer in com.broadleafcommerce.promotion.offer.service.dto
Methods in com.broadleafcommerce.promotion.offer.service.dto that return types with arguments of type CandidateItemOfferModifier and TypeMethodDescriptionCandidateOffers.getCandidateFulfillmentItemOffers()List of candidate offers targetingfulfillment items.OfferProcessingContext.getCandidateFulfillmentItemOffers()CandidateOffers.getCandidateOrderItemOffers()List of candidate offers targetingorder items.OfferProcessingContext.getCandidateOrderItemOffers()Method parameters in com.broadleafcommerce.promotion.offer.service.dto with type arguments of type CandidateItemOfferModifier and TypeMethodDescriptionvoidCandidateOffers.setCandidateFulfillmentItemOffers(List<CandidateItemOffer> candidateFulfillmentItemOffers) List of candidate offers targetingfulfillment items.voidCandidateOffers.setCandidateOrderItemOffers(List<CandidateItemOffer> candidateOrderItemOffers) List of candidate offers targetingorder items. -
Uses of CandidateItemOffer in com.broadleafcommerce.promotion.offer.service.dto.comparator
Methods in com.broadleafcommerce.promotion.offer.service.dto.comparator with parameters of type CandidateItemOfferModifier and TypeMethodDescriptionintCandidateItemOfferComparator.compare(CandidateItemOffer p1, CandidateItemOffer p2) intItemOfferQtyOneComparator.compare(CandidateItemOffer p1, CandidateItemOffer p2) intItemOfferWeightedPercentSavedComparator.compare(CandidateItemOffer p1, CandidateItemOffer p2) -
Uses of CandidateItemOffer 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 CandidateItemOfferModifier and TypeMethodDescriptionprotected List<List<CandidateItemOffer>>DefaultItemOfferProcessor.expandPermutations(List<CandidateItemOffer> itemOffers) This method takes a list of item offers that are compatible with each other and share the same combinability characteristics with other types like order offers and builds additional permutations that influence the order that the offers will be run.protected Optional<List<CandidateItemOffer>>DefaultItemOfferProcessor.findBestPermutation(EnhancedOrder order, List<List<CandidateItemOffer>> permutations) Determines the best permutation by comparing the resulting total discounts of each permutations.protected List<CandidateItemOffer>DefaultItemOfferProcessor.getCandidateItemOffers(OfferProcessingContext context) protected List<CandidateItemOffer>DefaultItemOfferProcessor.getPermutationByComparator(List<CandidateItemOffer> rootPremutation, Comparator<CandidateItemOffer> comparator) Uses aComparatorto sortcandidate offers.Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor with parameters of type CandidateItemOfferModifier and TypeMethodDescriptionprotected voidDefaultItemOfferProcessor.applyAdjustments(EnhancedOrder order, CandidateItemOffer itemOffer) protected voidDefaultItemOfferProcessor.applyFreeGift(EnhancedOrder order, CandidateItemOffer itemOffer) Builds and adds aFreeGiftItemtoEnhancedOrder.getFreeGiftItems()based ongetCandidateQualifiersMap()if the givenitemOfferis a free gift offer.protected voidDefaultItemOfferProcessor.applyItemOffer(EnhancedOrder order, CandidateItemOffer itemOffer) protected voidDefaultItemOfferProcessor.applyItemQualifiersAndTargets(EnhancedOrder order, CandidateItemOffer itemOffer) protected voidDefaultItemOfferProcessor.applyLineItemAdjustment(@NonNull CandidateItemOffer itemOffer, @NonNull LineItemOfferDetail offerDetail, @NonNull OfferDiscount offerDiscount) Adds anItemOfferAdjustmentto the givenLineItemOfferDetail.protected com.broadleafcommerce.promotion.offer.client.web.context.info.AdjustmentDefaultItemOfferProcessor.buildAdjustmentForFreeGift(EnhancedOrder order, CandidateItemOffer itemOffer) Builds anAdjustmentfor aFreeGiftItem.protected javax.money.MonetaryAmountDefaultItemOfferProcessor.calculatePartialSavingsAmountForDiscount(CandidateItemOffer itemOffer, OfferDiscount discount) protected booleanDefaultItemOfferProcessor.canOfferBeApplied(EnhancedOrder order, CandidateItemOffer itemOffer, List<LineItemOfferDetail> itemDetails) Deprecated.protected booleanDefaultItemOfferProcessor.canOfferBeApplied(EnhancedOrder order, CandidateItemOffer itemOffer, List<LineItemOfferDetail> itemDetails, ItemOfferPermutationResult result) Determines whether theOffercan be applied by making sure it is the order meets the total requirements.protected javax.money.MonetaryAmountDefaultItemOfferProcessor.computeSaleAdjustmentValue(CandidateItemOffer itemOffer, LineItemOfferDetail offerDetail) protected javax.money.MonetaryAmountDefaultItemOfferProcessor.computeStandardAdjustmentValue(CandidateItemOffer itemOffer, LineItemOfferDetail offerDetail) protected com.broadleafcommerce.promotion.offer.client.web.context.info.OfferItemDetailDefaultItemOfferProcessor.createOfferItemDetail(CandidateItemOffer itemOffer, String itemId, int quantityPerUsage) Creates anOfferItemDetailbased on the given fields.protected com.broadleafcommerce.promotion.offer.client.web.context.info.OfferItemDetailDefaultItemOfferProcessor.createOfferItemDetailAndDetermineQualifierQuantity(@NonNull CandidateItemOffer itemOffer, @NonNull EnhancedLineItem lineItem, OfferDiscount offerDiscount, int quantityPerUsage) Creates anOfferItemDetailbased on the given fields.protected intDefaultItemOfferProcessor.getFreeGiftQuantityToAdd(CandidateItemOffer itemOffer) Gets the quantity of the free gift items to be added from the givenCandidateItemOffer.protected List<com.broadleafcommerce.promotion.offer.client.web.context.info.OfferItemDetail>DefaultItemOfferProcessor.getQualifierDetails(@NonNull CandidateItemOffer itemOffer, OfferDiscount offerDiscount) Gets a list ofOfferItemDetailsrepresenting qualifiers.protected booleanDefaultItemOfferProcessor.isAdjustmentGoodEnough(CandidateItemOffer itemOffer, LineItemOfferDetail detail) Checking to make sure that an offer's adjustment to an item's price is actually better than the original price, especially if the item is on sale since not all offers can apply to a sale price.protected booleanDefaultItemOfferProcessor.itemHasQualifierOfferDetails(@NonNull EnhancedLineItem item, @NonNull CandidateItemOffer itemOffer, OfferDiscount offerDiscount) Determines whether the givenEnhancedLineItemhas anyOfferItemDetailsthat has anyOfferQualifiersmatching the givenCandidateItemOffer.protected voidDefaultItemOfferProcessor.splitDetailsIfNecessary(List<LineItemOfferDetail> offerDetails, CandidateItemOffer itemOffer) Checks if the discount quantity matches the detail quantity.Method parameters in com.broadleafcommerce.promotion.offer.service.engine.application.processor with type arguments of type CandidateItemOfferModifier and TypeMethodDescriptionprotected voidDefaultItemOfferProcessor.applyCandidateOffers(EnhancedOrder order, List<CandidateItemOffer> candidateOffers) Deprecated.protected voidDefaultItemOfferProcessor.applyCandidateOffers(EnhancedOrder order, List<CandidateItemOffer> candidateOffers, ItemOfferPermutationResult result) protected voidDefaultItemOfferProcessor.calculatePotentialSavings(EnhancedOrder order, List<CandidateItemOffer> candidateItemOffers) protected voidDefaultItemOfferProcessor.clearStateBetweenPermutations(EnhancedOrder order, List<CandidateItemOffer> candidateOffers) protected ItemOfferPermutationResultDefaultItemOfferProcessor.computeOfferPermutationValue(OfferProcessingContext context, List<CandidateItemOffer> candidateItemOffers, OrderTotals orderTotals) protected List<List<CandidateItemOffer>>DefaultItemOfferProcessor.expandPermutations(List<CandidateItemOffer> itemOffers) This method takes a list of item offers that are compatible with each other and share the same combinability characteristics with other types like order offers and builds additional permutations that influence the order that the offers will be run.protected Optional<List<CandidateItemOffer>>DefaultItemOfferProcessor.findBestPermutation(EnhancedOrder order, List<List<CandidateItemOffer>> permutations) Determines the best permutation by comparing the resulting total discounts of each permutations.protected List<CandidateItemOffer>DefaultItemOfferProcessor.getPermutationByComparator(List<CandidateItemOffer> rootPremutation, Comparator<CandidateItemOffer> comparator) Uses aComparatorto sortcandidate offers.protected List<CandidateItemOffer>DefaultItemOfferProcessor.getPermutationByComparator(List<CandidateItemOffer> rootPremutation, Comparator<CandidateItemOffer> comparator) Uses aComparatorto sortcandidate offers.voidDefaultItemOfferProcessor.prepareForItemOfferProcessing(EnhancedOrder order, List<CandidateItemOffer> candidateItemOffers) voidItemOfferProcessor.prepareForItemOfferProcessing(EnhancedOrder order, List<CandidateItemOffer> candidateItemOffers) Item offer processing can benefit from setup activities that are used by all of the permutations.protected voidDefaultItemOfferProcessor.removeDuplicatePermutations(List<List<CandidateItemOffer>> permutations) A duplicate permutation means that the permutations have the same offers in the same order.protected voidDefaultItemOfferProcessor.setCandidateItemOffers(CandidateOffers candidateOffers, List<CandidateItemOffer> candidateItemOffers) protected voidDefaultItemOfferProcessor.sort(List<CandidateItemOffer> candidateItemOffers) The default based on theCandidateItemOfferComparator -
Uses of CandidateItemOffer 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 CandidateItemOfferModifier and TypeMethodDescriptionbooleanDefaultOrderAndItemOfferHelper.orderMeetsTargetTotalRequirements(CandidateItemOffer itemOffer) booleanOrderAndItemOfferHelper.orderMeetsTargetTotalRequirements(CandidateItemOffer itemOffer) As offers are applied, recheck to ensure that the next offer in the collection of candidates can be applied based on the total of target item prices. -
Uses of CandidateItemOffer in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item
Methods in com.broadleafcommerce.promotion.offer.service.engine.application.processor.helper.item with parameters of type CandidateItemOfferModifier and TypeMethodDescriptionprotected voidDefaultPotentialSavingsCalculator.assertCandidateOfferNotNull(CandidateItemOffer candidateOffer) protected voidDefaultQualifierAndTargetMarker.assertCandidateOfferNotNull(CandidateItemOffer candidateOffer) protected voidDefaultPotentialSavingsCalculator.assertCommonParamsNotNull(EnhancedOrder order, CandidateItemOffer candidateOffer) protected voidDefaultQualifierAndTargetMarker.assertCommonParamsNotNull(EnhancedOrder order, CandidateItemOffer candidateOffer) javax.money.MonetaryAmountDefaultPotentialSavingsCalculator.calculateDiscountForItem(CandidateItemOffer itemOffer, EnhancedLineItem item, int quantityToReceiveDiscount) javax.money.MonetaryAmountPotentialSavingsCalculator.calculateDiscountForItem(CandidateItemOffer itemOffer, EnhancedLineItem item, int quantityToReceiveDiscount) Calculates the potential discount of aCandidateItemOfferfor anEnhancedLineItem.protected javax.money.MonetaryAmountDefaultQualifierAndTargetMarker.calculateEstimatedSavingsForIteration(CandidateItemOffer itemOffer) DefaultPotentialSavingsCalculator.calculatePotentialSavingsForOffer(EnhancedOrder order, CandidateItemOffer itemOffer, boolean isForFulfillment) PotentialSavingsCalculator.calculatePotentialSavingsForOffer(EnhancedOrder order, CandidateItemOffer itemOffer, boolean isForFulfillment) Calculates theTotalPotentialSavingsfor all of the givenEnhancedOrder.getOrderLineItems()order's order line items} if the givenCandidateItemOfferwas applied.javax.money.MonetaryAmountDefaultPotentialSavingsCalculator.computeAdjustmentValue(javax.money.MonetaryAmount currentPrice, CandidateItemOffer itemOffer) javax.money.MonetaryAmountDefaultPotentialSavingsCalculator.computeAdjustmentValue(javax.money.MonetaryAmount currentPrice, CandidateItemOffer itemOffer, double prorationAmount) javax.money.MonetaryAmountPotentialSavingsCalculator.computeAdjustmentValue(javax.money.MonetaryAmount currentPrice, CandidateItemOffer itemOffer) CallsPotentialSavingsCalculator.computeAdjustmentValue(javax.money.MonetaryAmount, com.broadleafcommerce.promotion.offer.service.dto.CandidateItemOffer, double)with a proration amount of 1 meaning no proration.}javax.money.MonetaryAmountPotentialSavingsCalculator.computeAdjustmentValue(javax.money.MonetaryAmount currentPrice, CandidateItemOffer itemOffer, double prorationAmount) Computes the adjustment value of aCandidateItemOfferfor a targetedEnhancedLineItem.protected Optional<DiscountTier>DefaultPotentialSavingsCalculator.determineMaxTier(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers) protected DiscountParametersDefaultPotentialSavingsCalculator.determineOfferDiscountParameters(CandidateItemOffer itemOffer) Determines thediscount method typeand discount amount for thecandidate offer, accounting forOffer.getDiscountTiers().voidDefaultPotentialSavingsCalculator.finalizePotentialSavingsOnOffer(CandidateItemOffer itemOffer, TotalPotentialSavings totalPotentialSavings) voidPotentialSavingsCalculator.finalizePotentialSavingsOnOffer(CandidateItemOffer itemOffer, TotalPotentialSavings totalPotentialSavings) Saves the finalBaseCandidateOffer.getPotentialSavings()andgetWeightedPercentSaved()for all of anEnhancedOrder.getOrderLineItems()order's order items} if the givenCandidateItemOfferwas applied.protected DiscountTierDefaultPotentialSavingsCalculator.getMaxTierForTieredItemQty(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers, int quantityForTierOffer) protected DiscountTierDefaultPotentialSavingsCalculator.getMaxTierForTieredItemSubtotal(CandidateItemOffer itemOffer, List<DiscountTier> discountTiers, BigDecimal amountForTierOffer) protected Optional<javax.money.MonetaryAmount>DefaultQualifierAndTargetMarker.handleMaxItemSavingsPerOrder(CandidateItemOffer itemOffer, EnhancedOrder order, boolean isForFulfillment, javax.money.MonetaryAmount runningAdjustmentsTotal) Calculates the currentIterationSavings.protected booleanDefaultQualifierAndTargetMarker.markAllQualifiers(CandidateItemOffer itemOffer) Marks which items are qualifiers for eachOffer.getItemQualifierCriteria()protected booleanDefaultQualifierAndTargetMarker.markAllTargets(CandidateItemOffer itemOffer, EnhancedLineItem relatedQualifier, boolean checkOnly) Marks all the items that match aOffer.getTargetItemCriteria().voidDefaultQualifierAndTargetMarker.markQualifiersAndTargets(EnhancedOrder order, CandidateItemOffer itemOffer, boolean isForFulfillment) voidQualifierAndTargetMarker.markQualifiersAndTargets(EnhancedOrder order, CandidateItemOffer itemOffer, boolean isForFulfillment) MarksEnhancedOrder.getOrderLineItems()as either targets or qualifiers for a givenCandidateItemOffer.protected intDefaultQualifierAndTargetMarker.markQualifiersForSingleCriteria(CandidateItemOffer itemOffer, ItemCriteriaRule itemCriteria, Collection<? extends EnhancedLineItem> orderLineItems) Marks all the qualifiers for a singleOffer.getItemQualifierCriteria().protected booleanDefaultQualifierAndTargetMarker.markRelatedQualifiersAndTargets(CandidateItemOffer itemOffer) Marks item qualifiers and the target items they qualify for anoffer'sdiscount to ensure that all qualifiers have targets and vice versa.protected org.apache.commons.lang3.tuple.Pair<EnhancedLineItem,Integer> DefaultQualifierAndTargetMarker.markRelatedQualifiersAndTargetsForItemCriteria(CandidateItemOffer itemOffer, ItemCriteriaRule qualifierCriteria, Collection<? extends EnhancedLineItem> orderLineItems) Marks item qualifiers and the target items they qualify for a singleOffer.getItemQualifierCriteria()to ensure that all qualifiers have targets and vice versa.protected intDefaultQualifierAndTargetMarker.markSingleTargetForItemCriteria(LineItemOfferDetail offerDetail, CandidateItemOffer itemOffer, ItemCriteriaRule targetCriteria, int targetQtyNeeded, boolean checkOnly) Marks a single item as a target of a singleOffer.getTargetItemCriteria()protected intDefaultQualifierAndTargetMarker.markTargetsForCriteria(CandidateItemOffer itemOffer, EnhancedLineItem relatedQualifier, boolean checkOnly, ItemCriteriaRule targetCriteria, Collection<? extends EnhancedLineItem> orderLineItems) Marks the targets related to the provideditem qualifier(relatedQualifier) to ensure that there are enough to use for the qualifier'sOffer.protected voidDefaultPotentialSavingsCalculator.setPotentialSavings(CandidateItemOffer itemOffer, javax.money.MonetaryAmount potentialSavings) protected voidDefaultPotentialSavingsCalculator.setWeightedDiscountPercent(CandidateItemOffer itemOffer, BigDecimal weightedDiscountPercent) protected voidDefaultQualifierAndTargetMarker.storeNonFinalizedQuantities(List<LineItemOfferDetail> lineItemOfferDetails, CandidateItemOffer itemOffer) protected voidDefaultQualifierAndTargetMarker.updateReasonResponses(EnhancedOrder order, CandidateItemOffer itemOffer, boolean qualifiersFound) -
Uses of CandidateItemOffer in com.broadleafcommerce.promotion.offer.service.engine.candidate
Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate that return CandidateItemOfferModifier and TypeMethodDescriptionCandidateOfferUtility.createCandidateFulfillmentItemOffer(EnhancedOrder order, Offer offer) Creates aCandidateItemOfferfor the given order and offer.DefaultCandidateOfferUtility.createCandidateFulfillmentItemOffer(EnhancedOrder order, Offer offer) CandidateOfferUtility.createCandidateOrderItemOffer(EnhancedOrder order, Offer offer) Creates aCandidateItemOfferfor the given order and offer.DefaultCandidateOfferUtility.createCandidateOrderItemOffer(EnhancedOrder order, Offer offer) Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate that return types with arguments of type CandidateItemOfferModifier and TypeMethodDescriptionDefaultOfferCandidateService.populateOrRemoveOffersByFulfillmentItemQualifiers(@NonNull List<CandidateItemOffer> candidateOfferSet, @NonNull EnhancedOrder order) OfferCandidateService.populateOrRemoveOffersByFulfillmentItemQualifiers(List<CandidateItemOffer> candidateOfferSet, EnhancedOrder order) Filter the provided offer set based on if the fulfillment items of the provided order match as qualifiers.DefaultOfferCandidateService.populateOrRemoveOffersByFulfillmentItemTargets(@NonNull List<CandidateItemOffer> candidateOfferSet, @NonNull EnhancedOrder order) OfferCandidateService.populateOrRemoveOffersByFulfillmentItemTargets(List<CandidateItemOffer> candidateOfferSet, EnhancedOrder order) Filter the provided offer set based on if the provided fulfillment items of the order match as shipping targets.DefaultOfferCandidateService.populateOrRemoveOffersByItemTargets(@NonNull List<CandidateItemOffer> candidateOfferSet, @NonNull EnhancedOrder order) OfferCandidateService.populateOrRemoveOffersByItemTargets(List<CandidateItemOffer> candidateOfferSet, EnhancedOrder order) Filter the provided offer set based on if the items of the provided order match as targets.Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate with parameters of type CandidateItemOfferModifier and TypeMethodDescriptionprotected javax.money.MonetaryAmountDefaultOfferCandidateService.calculateStandardPriceSavings(EnhancedOrderLineItem item, CandidateItemOffer itemOffer) Method parameters in com.broadleafcommerce.promotion.offer.service.engine.candidate with type arguments of type CandidateItemOfferModifier and TypeMethodDescriptionDefaultOfferCandidateService.populateOrRemoveOffersByFulfillmentItemQualifiers(@NonNull List<CandidateItemOffer> candidateOfferSet, @NonNull EnhancedOrder order) OfferCandidateService.populateOrRemoveOffersByFulfillmentItemQualifiers(List<CandidateItemOffer> candidateOfferSet, EnhancedOrder order) Filter the provided offer set based on if the fulfillment items of the provided order match as qualifiers.DefaultOfferCandidateService.populateOrRemoveOffersByFulfillmentItemTargets(@NonNull List<CandidateItemOffer> candidateOfferSet, @NonNull EnhancedOrder order) OfferCandidateService.populateOrRemoveOffersByFulfillmentItemTargets(List<CandidateItemOffer> candidateOfferSet, EnhancedOrder order) Filter the provided offer set based on if the provided fulfillment items of the order match as shipping targets.DefaultOfferCandidateService.populateOrRemoveOffersByItemTargets(@NonNull List<CandidateItemOffer> candidateOfferSet, @NonNull EnhancedOrder order) OfferCandidateService.populateOrRemoveOffersByItemTargets(List<CandidateItemOffer> candidateOfferSet, EnhancedOrder order) Filter the provided offer set based on if the items of the provided order match as targets. -
Uses of CandidateItemOffer in com.broadleafcommerce.promotion.offer.web.context.info
Methods in com.broadleafcommerce.promotion.offer.web.context.info that return CandidateItemOfferModifier and TypeMethodDescriptionItemOfferAdjustment.getCandidateItemOffer()TheCandidateItemOfferDTO related toItemOfferAdjustment.offer.OfferDiscount.getCandidateItemOffer()TheCandidateItemOfferDTO related toOfferDiscount.offer.Methods in com.broadleafcommerce.promotion.offer.web.context.info with parameters of type CandidateItemOfferModifier and TypeMethodDescriptionprotected OfferQualifierLineItemOfferDetail.addNewQualifierAndGet(com.broadleafcommerce.common.extension.TypeFactory offerFactory, CandidateItemOffer itemOffer) protected OfferDiscountLineItemOfferDetail.addNewTargetAndGet(com.broadleafcommerce.common.extension.TypeFactory offerFactory, CandidateItemOffer itemOffer) LineItemOfferDetail.addOrUpdateMatchingOfferQualifier(CandidateItemOffer itemOffer, ItemCriteriaRule qualifierCriteria, int qtyToMarkAsQualifier, com.broadleafcommerce.common.extension.TypeFactory offerFactory) Either creates a newOfferQualifieror updates a preexisting one for the givenCandidateItemOffer, marking the quantity of to reserve for use as qualifiers for the givenItemCriteriaRule.voidLineItemOfferDetail.addOrUpdateMatchingOfferTarget(CandidateItemOffer itemOffer, ItemCriteriaRule targetCriteria, int qtyToMarkAsTarget, com.broadleafcommerce.common.extension.TypeFactory offerFactory) Either creates a newOfferDiscountor updates a preexisting one for the givenCandidateItemOffer, marking the quantity of to reserve for use as targets for the givenItemCriteriaRule.protected intLineItemOfferDetail.getQtyAvailableToBeUsed(CandidateItemOffer offer, boolean isForQualifierQty) Calculates the number oforder itemsnot already exclusively used as targets or qualifiers either by this offer or any other and, therefore, are available to be used as qualifiers or targets by the givenOffer.intLineItemOfferDetail.getQtyAvailableToUseAsQualifier(CandidateItemOffer offer) Calculates the number oforder itemsavailable to be used as qualifiers for the providedOffer.intLineItemOfferDetail.getQtyAvailableToUseAsTarget(CandidateItemOffer offer) Calculates the number oforder itemsavailable to be used as targets for the providedOffer.protected intLineItemOfferDetail.getQuantityOfItemsExclusivelyUsedAsQualifiers(CandidateItemOffer thisOffer, Set<OfferQualifier> offerQualifiers, boolean isForQualifierQty) Calculates the number oforder itemsalready exclusively used as qualifiers.protected intLineItemOfferDetail.getQuantityOfItemsExclusivelyUsedAsTargets(CandidateItemOffer thisOffer, Set<OfferDiscount> offerDiscounts, boolean isForQualifierQty) Calculates the number oforder itemsalready exclusively used as targets.protected Optional<OfferQualifier>LineItemOfferDetail.lookupOfferQualifierByOffer(CandidateItemOffer itemOffer) protected Optional<OfferDiscount>LineItemOfferDetail.lookupOfferTargetByOffer(CandidateItemOffer itemOffer) voidItemOfferAdjustment.setCandidateItemOffer(CandidateItemOffer candidateItemOffer) TheCandidateItemOfferDTO related toItemOfferAdjustment.offer.voidOfferDiscount.setCandidateItemOffer(CandidateItemOffer candidateItemOffer) TheCandidateItemOfferDTO related toOfferDiscount.offer.
DefaultItemOfferProcessor.canOfferBeApplied(EnhancedOrder, CandidateItemOffer, List, ItemOfferPermutationResult)