Class CartAlert

java.lang.Object
com.broadleafcommerce.cart.client.domain.CartAlert
All Implemented Interfaces:
Serializable

public class CartAlert extends Object implements Serializable
The domain object that is used to alert customers about some problems with the Cart.
Author:
Dima Myroniuk (dmyroniuk)
See Also:
  • Constructor Details

  • Method Details

    • getType

      public String getType()
      The type of the alert.
      Returns:
      the alert type
      See Also:
    • getMessage

      public String getMessage()
      The message for this alert.
      Returns:
      the message for this alert
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Contains the additional information about this alert.
      Returns:
      the map with the additional information about this alert
    • setType

      public void setType(String type)
      The type of the alert.
      Parameters:
      type - the type of the alert
      See Also:
    • setMessage

      public void setMessage(String message)
      The message for this alert.
      Parameters:
      messages - the message for this alert
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Contains the additional information about this alert.
      Parameters:
      additionalAttributes - the map with the additional information about this alert
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object