Class UpdateAccountMemberRequest
- java.lang.Object
-
- com.broadleafcommerce.customer.web.endpoint.domain.UpdateAccountMemberRequest
-
- All Implemented Interfaces:
Serializable
public class UpdateAccountMemberRequest extends Object implements Serializable
Used to describe an update that should be made to anAccountMember
- Author:
- Chris Kittrell (ckittrell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateAccountMemberRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<AdditionalPhone>
getAdditionalPhones()
Additional phone numbers associated with the account member.Map<String,Object>
getAttributes()
Additional attributes that are used to describe the account memberString
getEmail()
An updated email address for the account member.Phone
getPhone()
An updated primary phone number of the account member.AccountRoleRef
getRoleRef()
The new role of theAccountMember
.int
hashCode()
void
setAdditionalPhones(List<AdditionalPhone> additionalPhones)
Additional phone numbers associated with the account member.void
setAttributes(Map<String,Object> attributes)
Additional attributes that are used to describe the account membervoid
setEmail(String email)
An updated email address for the account member.void
setPhone(Phone phone)
An updated primary phone number of the account member.void
setRoleRef(AccountRoleRef roleRef)
The new role of theAccountMember
.String
toString()
-
-
-
Method Detail
-
getRoleRef
public AccountRoleRef getRoleRef()
The new role of theAccountMember
.- Returns:
- the new role of the
AccountMember
.
-
getEmail
public String getEmail()
An updated email address for the account member.- Returns:
- an updated email address for the account member
-
getPhone
public Phone getPhone()
An updated primary phone number of the account member.- Returns:
- an updated primary phone number of the account member
-
getAdditionalPhones
public List<AdditionalPhone> getAdditionalPhones()
Additional phone numbers associated with the account member.- Returns:
- additional phone numbers associated with the account member
-
getAttributes
public Map<String,Object> getAttributes()
Additional attributes that are used to describe the account member- Returns:
- additional attributes that are used to describe the account member
-
setRoleRef
public void setRoleRef(AccountRoleRef roleRef)
The new role of theAccountMember
.- Parameters:
roleRef
- the new role of theAccountMember
.
-
setEmail
public void setEmail(String email)
An updated email address for the account member.- Parameters:
email
- an updated email address for the account member
-
setPhone
public void setPhone(Phone phone)
An updated primary phone number of the account member.- Parameters:
phone
- an updated primary phone number of the account member
-
setAdditionalPhones
public void setAdditionalPhones(List<AdditionalPhone> additionalPhones)
Additional phone numbers associated with the account member.- Parameters:
additionalPhones
- additional phone numbers associated with the account member
-
setAttributes
public void setAttributes(Map<String,Object> attributes)
Additional attributes that are used to describe the account member- Parameters:
attributes
- additional attributes that are used to describe the account member
-
canEqual
protected boolean canEqual(Object other)
-
-