Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.BaseCandidateOffer
Packages that use BaseCandidateOffer
Package
Description
-
Uses of BaseCandidateOffer in com.broadleafcommerce.promotion.offer.service.dto
Classes in com.broadleafcommerce.promotion.offer.service.dto with type parameters of type BaseCandidateOfferModifier and TypeClassDescriptionclass
OffersPermutation<T extends BaseCandidateOffer>
DTO containing a set of compatible offers of the same type and that share the same combinability with regard to other types.Subclasses of BaseCandidateOffer in com.broadleafcommerce.promotion.offer.service.dtoModifier and TypeClassDescriptionclass
DTO containing information necessary for determining if anOffer
that can apply to one or moreEnhancedFulfillmentGroup
s is part of the best permutation of all offers applicable to that group.class
DTO containing information necessary for determining if anOffer
that can apply to anEnhancedLineItem
is part of the best permutation of all offers applicable to that line item.class
DTO containing information necessary for determining if anOffer
that can apply to anEnhancedOrder
is part of the best permutation of all offers applicable to that order.Methods in com.broadleafcommerce.promotion.offer.service.dto that return BaseCandidateOfferModifier and TypeMethodDescriptionOfferProcessingContext.findFirstCompatibleOffer
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) OfferProcessingContext.findFirstIncompatibleOffer
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) Based on the compatible flag, return the first compatible or incompatible item from the passed in listMethods in com.broadleafcommerce.promotion.offer.service.dto that return types with arguments of type BaseCandidateOfferModifier and TypeMethodDescriptionOfferProcessingContext.filterIncompatibleOffers
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) Filters the passed in list, removing all incompatible offersCandidateOffers.getAllCandidateOffers()
A set of all the relevant candidate offers for given offer engine executionOfferCombinabilityCriteria.getCompatibleOffers()
Methods in com.broadleafcommerce.promotion.offer.service.dto with parameters of type BaseCandidateOfferModifier and TypeMethodDescriptionprotected boolean
OfferProcessingContext.checkCompatability
(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherCandidateOffer, CompatibleOfferNode node) protected boolean
OfferProcessingContext.checkForCombinable
(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherOffer) protected boolean
OfferProcessingContext.checkForExplicitExclusions
(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherCandidateOffer) protected boolean
OfferProcessingContext.checkForStackable
(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherOffer) protected boolean
OfferProcessingContext.checkSegmentCombinable
(BaseCandidateOffer offer, CompatibleOfferNode currentNode) If this is an order offer and the segment is unique with the node path, then this offer can be combined.OfferProcessingContext.filterIncompatibleOffers
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) Filters the passed in list, removing all incompatible offersOfferProcessingContext.findFirstCompatibleOffer
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) OfferProcessingContext.findFirstIncompatibleOffer
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) Based on the compatible flag, return the first compatible or incompatible item from the passed in listvoid
CandidateOffers.initializeCandidateOfferForProcessing
(BaseCandidateOffer offer, EnhancedOrder order) Adds the offer to the relevant collections used by the offer engine.Method parameters in com.broadleafcommerce.promotion.offer.service.dto with type arguments of type BaseCandidateOfferModifier and TypeMethodDescriptionvoid
OfferCombinabilityCriteria.addCompatibleOffers
(List<? extends BaseCandidateOffer> offers) Adds all offers of the same type that are compatible with this criteria to the compatibleOffers list.void
OfferProcessingContext.createPathsForNode
(CompatibleOfferNode currentNode, List<BaseCandidateOffer> theOffers, Set<CompatibleOfferNode> allNodes) OfferProcessingContext.filterIncompatibleOffers
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) Filters the passed in list, removing all incompatible offersOfferProcessingContext.findFirstCompatibleOffer
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) OfferProcessingContext.findFirstIncompatibleOffer
(BaseCandidateOffer offer, CompatibleOfferNode node, List<BaseCandidateOffer> otherOffers) Based on the compatible flag, return the first compatible or incompatible item from the passed in listprotected void
OfferProcessingContext.initializePermutations
(List<? extends BaseCandidateOffer> offers, Map<OfferCombinabilityCriteriaKey, OfferCombinabilityCriteria> permutationMap) void
CandidateOffers.setAllCandidateOffers
(List<BaseCandidateOffer> allCandidateOffers) A set of all the relevant candidate offers for given offer engine executionvoid
OfferCombinabilityCriteria.setCompatibleOffers
(List<BaseCandidateOffer> compatibleOffers) -
Uses of BaseCandidateOffer 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 BaseCandidateOfferModifier and TypeMethodDescriptionprotected void
DefaultOrderAndItemOfferHelper.assertCandidateOfferNotNull
(BaseCandidateOffer offer) boolean
DefaultOrderAndItemOfferHelper.orderMeetsQualifyingTotalRequirements
(BaseCandidateOffer candidateOffer) boolean
OrderAndItemOfferHelper.orderMeetsQualifyingTotalRequirements
(BaseCandidateOffer candidateOffer) As offers are applied, recheck to ensure that the next offer in the collection of candidates can be applied based on the total of item qualifier prices.boolean
DefaultOrderAndItemOfferHelper.orderMeetsSubtotalRequirements
(EnhancedOrder order, BaseCandidateOffer candidateOffer) boolean
OrderAndItemOfferHelper.orderMeetsSubtotalRequirements
(EnhancedOrder order, BaseCandidateOffer candidateOffer) As offers are applied, recheck to ensure that the next offer in the collection of candidates can be applied based on the order subtotal. -
Uses of BaseCandidateOffer in com.broadleafcommerce.promotion.offer.service.engine.candidate
Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate with type parameters of type BaseCandidateOfferModifier and TypeMethodDescription<T extends BaseCandidateOffer>
List<T>DefaultOfferCandidateService.filterOffersByItemQualifiers
(@NonNull List<T> candidateOffers, @NonNull EnhancedOrder order) <T extends BaseCandidateOffer>
List<T>OfferCandidateService.filterOffersByItemQualifiers
(List<T> offerSet, EnhancedOrder order) Filter the provided offer set based on if the items of the provided order match as qualifiers.Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate that return types with arguments of type BaseCandidateOfferModifier and TypeMethodDescriptionDefaultOfferCandidateService.constructCandidateOffer
(Offer offer, EnhancedOrder order) protected List<BaseCandidateOffer>
DefaultOfferCandidateService.expandOffersBySegment
(BaseCandidateOffer offer, EnhancedOrder order) It is possible for a single offer to be activated using two separate codes that are restricted to different segments.Methods in com.broadleafcommerce.promotion.offer.service.engine.candidate with parameters of type BaseCandidateOfferModifier and TypeMethodDescriptionprotected void
DefaultOfferCandidateService.addQualifiersToMap
(BaseCandidateOffer candidateOffer, Map<ItemCriteriaRule, Collection<EnhancedLineItem>> itemCriteriaMap) protected boolean
DefaultOfferCandidateService.evaluateOfferItemCriteriaAgainstOrder
(@NonNull EnhancedOrder order, @NonNull BaseCandidateOffer offer, @NonNull Map<ItemCriteriaRule, Collection<EnhancedLineItem>> itemCriteriaMap, String connectiveOperator, boolean allowMatchesOnNonDiscountableItems) Evaluates theItemCriteriaRules
from an order or order item targeting offer against theOrder
to determine whether the offer is applicable.protected List<BaseCandidateOffer>
DefaultOfferCandidateService.expandOffersBySegment
(BaseCandidateOffer offer, EnhancedOrder order) It is possible for a single offer to be activated using two separate codes that are restricted to different segments.void
DefaultOfferCandidateService.initializeWithCodeProperties
(EnhancedOrder order, CandidateOffers candidateOffers, BaseCandidateOffer candidateOffer) protected void
DefaultCandidateOfferUtility.populateCandidateOfferCurrency
(@NonNull BaseCandidateOffer candidateOffer, @NonNull EnhancedOrder order, @NonNull Offer offer) protected void
DefaultCandidateOfferUtility.populateOfferRoundingProperties
(BaseCandidateOffer candidateOffer) Populates offer rounding properties for order and item typed offers.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)
DefaultOfferCandidateService.shouldIncludeItem(EnhancedOrderLineItem, EnhancedOrder, BaseCandidateOffer, boolean)
.