Class RegisterAccountMemberRequest
- java.lang.Object
-
- com.broadleafcommerce.customer.web.endpoint.domain.RegisterAccountMemberRequest
-
- All Implemented Interfaces:
Serializable
public class RegisterAccountMemberRequest extends Object implements Serializable
- Author:
- Chris Kittrell (ckittrell)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RegisterAccountMemberRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
AccountRef
getAccountRef()
The account in the relationship.List<AdditionalPhone>
getAdditionalPhones()
Additional phone numbers associated with the account member.Map<String,Object>
getAttributes()
Additional attributes that are used to describe the account memberCustomerRef
getCustomerRef()
A pre-existing customer that is being granted access to the account.String
getEmail()
Email address for the account member.String
getFirstName()
First name the account member.String
getLastName()
Last name the account member.Phone
getPhone()
The primary phone number of the account member.AccountRoleRef
getRoleRef()
The role of theAccountMember
.String
getUsername()
Username for the account member.int
hashCode()
void
setAccountRef(AccountRef accountRef)
The account in the relationship.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
setCustomerRef(CustomerRef customerRef)
A pre-existing customer that is being granted access to the account.void
setEmail(String email)
Email address for the account member.void
setFirstName(String firstName)
First name the account member.void
setLastName(String lastName)
Last name the account member.void
setPhone(Phone phone)
The primary phone number of the account member.void
setRoleRef(AccountRoleRef roleRef)
The role of theAccountMember
.void
setUsername(String username)
Username for the account member.String
toString()
-
-
-
Method Detail
-
getAccountRef
public AccountRef getAccountRef()
The account in the relationship.- Returns:
- the account in the relationship
-
getCustomerRef
public CustomerRef getCustomerRef()
A pre-existing customer that is being granted access to the account.- Returns:
- a pre-existing customer that is being granted access to the account
-
getRoleRef
public AccountRoleRef getRoleRef()
The role of theAccountMember
.- Returns:
- the role of the
AccountMember
.
-
getFirstName
public String getFirstName()
First name the account member. This field is only relevant if a pre-existing customer is not identified bycustomerRef
.- Returns:
- first name the account member
-
getLastName
public String getLastName()
Last name the account member. This field is only relevant if a pre-existing customer is not identified bycustomerRef
.- Returns:
- last name the account member
-
getUsername
public String getUsername()
Username for the account member. This field is only relevant if a pre-existing customer is not identified bycustomerRef
.- Returns:
- username for the account member
-
getEmail
public String getEmail()
Email address for the account member.- Returns:
- an email address for the account member
-
getPhone
public Phone getPhone()
The primary phone number of the account member.- Returns:
- the 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
-
setAccountRef
public void setAccountRef(AccountRef accountRef)
The account in the relationship.- Parameters:
accountRef
- the account in the relationship
-
setCustomerRef
public void setCustomerRef(CustomerRef customerRef)
A pre-existing customer that is being granted access to the account.- Parameters:
customerRef
- a pre-existing customer that is being granted access to the account
-
setRoleRef
public void setRoleRef(AccountRoleRef roleRef)
The role of theAccountMember
.- Parameters:
roleRef
- the role of theAccountMember
.
-
setFirstName
public void setFirstName(String firstName)
First name the account member. This field is only relevant if a pre-existing customer is not identified bycustomerRef
.- Parameters:
firstName
- first name the account member
-
setLastName
public void setLastName(String lastName)
Last name the account member. This field is only relevant if a pre-existing customer is not identified bycustomerRef
.- Parameters:
lastName
- last name the account member
-
setUsername
public void setUsername(String username)
Username for the account member. This field is only relevant if a pre-existing customer is not identified bycustomerRef
.- Parameters:
username
- username for the account member
-
setEmail
public void setEmail(String email)
Email address for the account member.- Parameters:
email
- an email address for the account member
-
setPhone
public void setPhone(Phone phone)
The primary phone number of the account member.- Parameters:
phone
- the 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)
-
-