Uses of Class
com.broadleafcommerce.promotion.offer.domain.MarketingMessageRequest
Package
Description
-
Uses of MarketingMessageRequest in com.broadleafcommerce.promotion.offer.service
Modifier and TypeMethodDescriptionprotected void
DefaultMarketingMessageResolver.addMessageToResponse
(MarketingMessageRequest request, MarketingMessageResponse<P> response, P message, List<String> productIds) protected EnhancedOrder
DefaultMarketingMessageResolver.buildEnhancedOrderForMarketingMessageRequest
(MarketingMessageRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Build a simple order to use for offer filtering based on customer if neededprotected MarketingMessageResponse<P>
DefaultMarketingMessageResolver.buildMarketingMessageResponse
(MarketingMessageRequest request, List<P> messages, Map<String, O> offerMap) Removes messages that are targeted to specific qualifiers or targets with no matching items before populating the response structures.DefaultMarketingMessageResolver.buildOfferMap
(List<P> marketingMessages, MarketingMessageRequest marketingMessageRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds a Map of offerId to offer for the passed in marketing messages based on theMarketingMessage.getOfferId()
The list will filter out offers that are not valid based on active dates and customer context.DefaultMarketingMessageResolver.filterMessages
(List<P> messageList, MarketingMessageRequest request, Map<String, O> offerMap) DefaultMarketingMessageResolver.filterMessagesByAppliedOffers
(Stream<P> messageSet, MarketingMessageRequest request) DefaultMarketingMessageResolver.filterMessagesByCartSubtotal
(Stream<P> messageSet, MarketingMessageRequest request) DefaultMarketingMessageResolver.filterMessagesWithoutActiveOffer
(Stream<P> messageSet, MarketingMessageRequest request, Map<String, O> offerMap) DefaultMarketingMessageResolver.findAllMarketingMessagesForRequest
(MarketingMessageRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) MarketingMessageResolver.findAllMarketingMessagesForRequest
(MarketingMessageRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Finds all of theMarketingMessages
for the providedMarketingMessageRequest
.DefaultMarketingMessageResolver.findRelevantMessages
(MarketingMessageRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Default implementation that is tuned for full message repository caching and assumes a relatively small number of active messages (e.g. -
Uses of MarketingMessageRequest in com.broadleafcommerce.promotion.offer.web.endpoint
Modifier and TypeMethodDescriptionMarketingMessageRetrievalEndpoint.getMarketingMessagesForRequest
(MarketingMessageRequest marketingMessageRequest, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)