Class CartAlert
java.lang.Object
com.broadleafcommerce.cart.client.domain.CartAlert
- All Implemented Interfaces:
Serializable
The domain object that is used to alert customers about some problems with the
Cart
.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Contains the additional information about this alert.The message for this alert.getType()
The type of the alert.int
hashCode()
void
setAdditionalAttributes
(Map<String, Object> additionalAttributes) Contains the additional information about this alert.void
setMessage
(String message) The message for this alert.void
The type of the alert.toString()
-
Constructor Details
-
CartAlert
-
CartAlert
-
CartAlert
public CartAlert()
-
-
Method Details
-
getType
The type of the alert.- Returns:
- the alert type
- See Also:
-
getMessage
The message for this alert.- Returns:
- the message for this alert
-
getAdditionalAttributes
Contains the additional information about this alert.- Returns:
- the map with the additional information about this alert
-
setType
The type of the alert.- Parameters:
type
- the type of the alert- See Also:
-
setMessage
The message for this alert.- Parameters:
messages
- the message for this alert
-
setAdditionalAttributes
Contains the additional information about this alert.- Parameters:
additionalAttributes
- the map with the additional information about this alert
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-