Uses of Class
com.broadleafcommerce.promotion.offer.service.dto.CandidateOffers
Package
Description
-
Uses of CandidateOffers in com.broadleafcommerce.promotion.offer.service.dto
Modifier and TypeMethodDescriptionvoid
BaseCandidateOffer.populateCombinabilityStructures
(CandidateOffers candidateOffers) protected void
BaseCandidateOffer.populateCombinabilityStructuresUsedBySameTargetType
(CandidateOffers candidateOffers) void
BaseCandidateOffer.updateOfferCombinabilityCriteria
(CandidateOffers candidateOffers) ModifierConstructorDescriptionOfferProcessingContext
(EnhancedOrder order, CandidateOffers offers) -
Uses of CandidateOffers in com.broadleafcommerce.promotion.offer.service.engine
Modifier and TypeMethodDescriptionDefaultOfferEngineService.getCandidateOffers
(EnhancedOrder order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferEngineService.getCandidateOffers
(EnhancedOrder order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Determines all of the candidate offers that can apply to the provided order for the given context.Modifier and TypeMethodDescriptionDefaultOfferEngineService.prepareOfferProcessingContext
(EnhancedOrder order, CandidateOffers candidateOffers) This method takes in a set of candidate offers.OfferProcesingUtility.prepareOfferProcessingContext
(EnhancedOrder order, CandidateOffers candidateOffers) -
Uses of CandidateOffers in com.broadleafcommerce.promotion.offer.service.engine.application.processor
Modifier and TypeMethodDescriptionprotected void
DefaultItemOfferProcessor.assertCandidateOffersNotNull
(CandidateOffers candidateOffers) protected void
DefaultItemOfferProcessor.assertCommonParamsNotNull
(EnhancedOrder order, CandidateOffers candidateOffers) protected void
DefaultItemOfferProcessor.setCandidateItemOffers
(CandidateOffers candidateOffers, List<CandidateItemOffer> candidateItemOffers) -
Uses of CandidateOffers in com.broadleafcommerce.promotion.offer.service.engine.candidate
Modifier and TypeMethodDescriptionDefaultOfferCandidateService.createCandidateOffersFromOffers
(@NonNull Stream<P> offerSet, @NonNull EnhancedOrder order) OfferCandidateService.createCandidateOffersFromOffers
(Stream<P> offerSet, EnhancedOrder order) Creates aCandidateOffers
object by converting the providedoffers
into their corresponding DTO object based on theirDiscountTargetType
.DefaultOfferCandidateService.getCandidateOffers
(@NonNull EnhancedOrder order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferCandidateService.getCandidateOffers
(EnhancedOrder order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Get the candidate offers for the provided order and context.DefaultOfferCandidateService.populateOrRemoveCandidateOffers
(@NonNull Stream<P> offerSet, @NonNull EnhancedOrder order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) OfferCandidateService.populateOrRemoveCandidateOffers
(Stream<P> offerSet, EnhancedOrder order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Filter out the provided offer set by matching their configurations against the information on the provided context and order.Modifier and TypeMethodDescriptionvoid
DefaultOfferCandidateService.initializeWithCodeProperties
(EnhancedOrder order, CandidateOffers candidateOffers, BaseCandidateOffer candidateOffer)