Class UserTarget
java.lang.Object
com.broadleafcommerce.orderoperation.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe type of the user.An identifying value for the user.inthashCode()voidsetTargetType(String targetType) The type of the user.voidsetTargetValue(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
-