Interface MarketingMessageUtils
- All Known Implementing Classes:
DefaultMarketingMessageUtils
public interface MarketingMessageUtils
Utilities to aid in the retrieval of
MarketingMessages- Author:
- Jon Fleschler (jfleschler)
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<LineItemDTO>buildLineItems(ProductList productDetails) BuildLineItemDTOs from hydrated product detailsbuildLineItems(ProductList productDetails, boolean buildForAllTermsAndFrequencies, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) BuildLineItemDTOs from hydrated product details.
-
Method Details
-
buildLineItems
BuildLineItemDTOs from hydrated product details- Parameters:
productDetails- the hydrated product details- Returns:
- list of
LineItemDTOs
-
buildLineItems
List<LineItemDTO> buildLineItems(ProductList productDetails, boolean buildForAllTermsAndFrequencies, @Nullable com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) BuildLineItemDTOs from hydrated product details.- Parameters:
productDetails- the hydrated product detailsbuildForAllTermsAndFrequencies- whether to buildLineItemDTOs for all available terms and frequencies for each product. If true, all available frequencies will be fetched based onProduct.getTerms()andLineItemDTOs are built for each term and frequency combination.priceContext- thePriceContextcontaining details about the currencycontextInfo- context information surrounding sandboxing and multitenant state- Returns:
- list of
LineItemDTOs - Since:
- Catalog Browse Service 2.2.0, Release Train 2.3.0
-