@Service(value="blPromotionMessageVariableExpression") @ConditionalOnTemplating public class PromotionMessageVariableExpression extends BLCVariableExpression
| Modifier and Type | Field and Description |
|---|---|
protected List<PromotionMessageGenerator> |
generators |
static String |
PLACEMENT |
static String |
PRODUCT |
catalogURLService| Constructor and Description |
|---|
PromotionMessageVariableExpression() |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
filterInvalidPlacements(String[] placements) |
protected List<String> |
getAppliedOfferNamesForOrderItem(OrderItem orderItem) |
List<String> |
getItemPromotionMessages(OrderItem orderItem) |
String |
getName() |
List<PromotionMessageDTO> |
getProductPromotionMessages(Product product,
String... placements) |
protected boolean |
isValidPlacementType(String placement) |
getCurrentUrl, getPrice, relativeURL, relativeURL, relativeURL, relativeURLpublic static final String PRODUCT
public static final String PLACEMENT
protected List<PromotionMessageGenerator> generators
public String getName()
getName in interface BroadleafVariableExpressiongetName in class BLCVariableExpressionpublic List<PromotionMessageDTO> getProductPromotionMessages(Product product, String... placements)
protected List<String> getAppliedOfferNamesForOrderItem(OrderItem orderItem)
protected boolean isValidPlacementType(String placement)
Copyright © 2021. All rights reserved.