Class UserTarget
java.lang.Object
com.broadleafcommerce.cartoperation.domain.UserTarget
- All Implemented Interfaces:
Serializable
Abstraction of a user that different entities, like offers and pricing, can target. Examples
include customers and accounts.
- Author:
- Chad Harchar (charchar)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The type of the user.An identifying value for the user.int
hashCode()
void
setTargetType
(String targetType) The type of the user.void
setTargetValue
(String targetValue) An identifying value for the user.toString()
-
Constructor Details
-
UserTarget
-
UserTarget
public UserTarget()
-
-
Method Details
-
getTargetValue
An identifying value for the user. Could be an email, username, or some similarly identifying value.- Returns:
- An identifying value for the user
-
getTargetType
The type of the user.- Returns:
- The type of the user.
- See Also:
-
setTargetValue
An identifying value for the user. Could be an email, username, or some similarly identifying value.- Parameters:
targetValue
- An identifying value for the user.
-
setTargetType
The type of the user.- Parameters:
targetType
- The type of the user.- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-