Class MarketingMessage

  • All Implemented Interfaces:
    Serializable

    public class MarketingMessage
    extends Object
    implements Serializable
    Represents a marketing message to be displayed to the customer.
    Author:
    Jon Fleschler (jfleschler)
    See Also:
    Serialized Form
    • Constructor Detail

      • MarketingMessage

        public MarketingMessage()
    • Method Detail

      • getId

        public String getId()
      • getText

        public String getText()
        The message's text to display to the customer
        Returns:
        the message text
      • getPriority

        public Integer getPriority()
        The message's priority
        Returns:
        the message priority
      • getDisplayHint

        public String getDisplayHint()
        Any display hint needed by the front-end
        Returns:
        the display hint for the front-end
      • setId

        public void setId​(String id)
      • setText

        public void setText​(String text)
        The message's text to display to the customer
      • setPriority

        public void setPriority​(Integer priority)
        The message's priority
      • setDisplayHint

        public void setDisplayHint​(String displayHint)
        Any display hint needed by the front-end
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object