Class ItemMarketingMessageRequest
- java.lang.Object
-
- com.broadleafcommerce.promotion.offer.domain.ItemMarketingMessageRequest
-
- All Implemented Interfaces:
Serializable
@Deprecated public class ItemMarketingMessageRequest extends Object implements Serializable
Deprecated.since 1.6, useMarketingMessageRequestinstead.A DTO used to make requests to theItemMarketingMessageResolver, which findsMarketingMessagesforitems.- Author:
- Samarth Dhruva (samarthd)
- See Also:
ItemMarketingMessageResolver,MarketingMessage, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ItemMarketingMessageRequest()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(Object other)Deprecated.booleanequals(Object o)Deprecated.com.broadleafcommerce.promotion.offer.client.web.context.CodesgetCodes()Deprecated.DTO containing codes used to apply offers to orders.com.broadleafcommerce.promotion.offer.client.web.context.CustomerContextgetCustomerContext()Deprecated.EnhancedLineItemgetItem()Deprecated.LocalegetLocale()Deprecated.StringgetLocationType()Deprecated.inthashCode()Deprecated.voidsetCodes(com.broadleafcommerce.promotion.offer.client.web.context.Codes codes)Deprecated.DTO containing codes used to apply offers to orders.voidsetCustomerContext(com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext)Deprecated.voidsetItem(EnhancedLineItem item)Deprecated.voidsetLocale(Locale locale)Deprecated.voidsetLocationType(String locationType)Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
getItem
public EnhancedLineItem getItem()
Deprecated.- Returns:
- the item for which to retrieve marketing messages
-
getLocationType
public String getLocationType()
Deprecated.- Returns:
- the view type where the messages will be displayed
- See Also:
MarketingMessageLocationType
-
getLocale
public Locale getLocale()
Deprecated.- Returns:
- the locale for which marketing messages should be retrieved
-
getCustomerContext
public com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext getCustomerContext()
Deprecated.- Returns:
- the customer context information that should be used in determining which offers apply
-
getCodes
public com.broadleafcommerce.promotion.offer.client.web.context.Codes getCodes()
Deprecated.DTO containing codes used to apply offers to orders. These can beSharedCode.getCode()shared codes} or tracking IDs for entities like Campaigns.- Returns:
- DTO containing codes used to apply offers to orders.
-
setItem
public void setItem(EnhancedLineItem item)
Deprecated.- Parameters:
item- the item for which to retrieve marketing messages
-
setLocationType
public void setLocationType(String locationType)
Deprecated.- Parameters:
locationType- the view type where the messages will be displayed- See Also:
MarketingMessageLocationType
-
setLocale
public void setLocale(Locale locale)
Deprecated.- Parameters:
locale- the locale for which marketing messages should be retrieved
-
setCustomerContext
public void setCustomerContext(com.broadleafcommerce.promotion.offer.client.web.context.CustomerContext customerContext)
Deprecated.- Parameters:
customerContext- the customer context information that should be used in determining which offers apply
-
setCodes
public void setCodes(com.broadleafcommerce.promotion.offer.client.web.context.Codes codes)
Deprecated.DTO containing codes used to apply offers to orders. These can beSharedCode.getCode()shared codes} or tracking IDs for entities like Campaigns.- Parameters:
codes- DTO containing codes used to apply offers to orders.
-
canEqual
protected boolean canEqual(Object other)
Deprecated.
-
-