Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.BaseCandidateOffer
-
-
Uses of BaseCandidateOffer in com.broadleafcommerce.promotion.offer.service.dto
Classes in com.broadleafcommerce.promotion.offer.service.dto with type parameters of type BaseCandidateOffer Modifier and Type Class Description classOffersPermutation<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.dto Modifier and Type Class Description classCandidateFulfillmentGroupOfferDTO containing information necessary for determining if anOfferthat can apply to one or moreEnhancedFulfillmentGroups is part of the best permutation of all offers applicable to that group.classCandidateItemOfferDTO containing information necessary for determining if anOfferthat can apply to anEnhancedLineItemis part of the best permutation of all offers applicable to that line item.classCandidateOrderOfferDTO containing information necessary for determining if anOfferthat can apply to anEnhancedOrderis part of the best permutation of all offers applicable to that order.Methods in com.broadleafcommerce.promotion.offer.service.dto that return BaseCandidateOffer Modifier and Type Method Description BaseCandidateOfferOfferProcessingContext. findFirstCompatibleOffer(BaseCandidateOffer offer, Set<BaseCandidateOffer> otherOffers)BaseCandidateOfferOfferProcessingContext. findFirstIncompatibleOffer(BaseCandidateOffer offer, Set<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 BaseCandidateOffer Modifier and Type Method Description List<BaseCandidateOffer>OfferCombinabilityCriteriaKey. addCompatibleOffers(List<BaseCandidateOffer> offers)Adds all offers of the same type that are compatible with this criteria to the compatibleOffers list.List<BaseCandidateOffer>CandidateOffers. getAllCandidateOffers()A set of all the relevant candidate offers for given offer engine executionSet<BaseCandidateOffer>OfferCombinabilityCriteria. getCompatibleOffers()Methods in com.broadleafcommerce.promotion.offer.service.dto with parameters of type BaseCandidateOffer Modifier and Type Method Description protected booleanOfferProcessingContext. checkCompatability(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherCandidateOffer)protected booleanOfferProcessingContext. checkForCombinable(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherOffer)protected booleanOfferProcessingContext. checkForExplicitExclusions(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherCandidateOffer)protected booleanOfferProcessingContext. checkForStackable(BaseCandidateOffer candidateOffer, BaseCandidateOffer otherOffer)BaseCandidateOfferOfferProcessingContext. findFirstCompatibleOffer(BaseCandidateOffer offer, Set<BaseCandidateOffer> otherOffers)BaseCandidateOfferOfferProcessingContext. findFirstIncompatibleOffer(BaseCandidateOffer offer, Set<BaseCandidateOffer> otherOffers)Based on the compatible flag, return the first compatible or incompatible item from the passed in listvoidCandidateOffers. initializeCandidateOfferForProcessing(BaseCandidateOffer offer)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 BaseCandidateOffer Modifier and Type Method Description voidOfferCombinabilityCriteria. addCompatibleOffers(List<? extends BaseCandidateOffer> offers)Adds all offers of the same type that are compatible with this criteria to the compatibleOffers list.List<BaseCandidateOffer>OfferCombinabilityCriteriaKey. addCompatibleOffers(List<BaseCandidateOffer> offers)Adds all offers of the same type that are compatible with this criteria to the compatibleOffers list.voidOfferProcessingContext. createPathsForNode(CompatibleOfferNode currentNode, Set<BaseCandidateOffer> otherOffers, Set<CompatibleOfferNode> allNodes)BaseCandidateOfferOfferProcessingContext. findFirstCompatibleOffer(BaseCandidateOffer offer, Set<BaseCandidateOffer> otherOffers)BaseCandidateOfferOfferProcessingContext. findFirstIncompatibleOffer(BaseCandidateOffer offer, Set<BaseCandidateOffer> otherOffers)Based on the compatible flag, return the first compatible or incompatible item from the passed in listprotected voidOfferProcessingContext. initializePermutations(List<? extends BaseCandidateOffer> offers, Map<OfferCombinabilityCriteriaKey,OfferCombinabilityCriteria> permutationMap)voidCandidateOffers. setAllCandidateOffers(List<BaseCandidateOffer> allCandidateOffers)A set of all the relevant candidate offers for given offer engine executionvoidOfferCombinabilityCriteria. setCompatibleOffers(Set<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 BaseCandidateOffer Modifier and Type Method Description protected voidDefaultOrderAndItemOfferHelper. assertCandidateOfferNotNull(BaseCandidateOffer offer)booleanDefaultOrderAndItemOfferHelper. orderMeetsQualifyingTotalRequirements(BaseCandidateOffer candidateOffer)booleanOrderAndItemOfferHelper. 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.booleanDefaultOrderAndItemOfferHelper. orderMeetsSubtotalRequirements(EnhancedOrder order, BaseCandidateOffer candidateOffer)booleanOrderAndItemOfferHelper. 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 BaseCandidateOffer Modifier and Type Method Description <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 with parameters of type BaseCandidateOffer Modifier and Type Method Description protected voidDefaultOfferCandidateService. addQualifiersToMap(BaseCandidateOffer candidateOffer, Map<ItemCriteriaRule,Collection<EnhancedLineItem>> itemCriteriaMap)
-