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 Deprecated Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
AccountRef
getAccount()
The account in the relationship.Set<String>
getAccountRoleIds()
The roles assigned to thisAccountMember
.List<AdditionalPhone>
getAdditionalPhones()
Deprecated.Use the customer's phone numbers insteadMap<String,Object>
getAttributes()
Additional attributes that are used to describe the account memberCustomerRef
getCustomer()
A pre-existing customer that is being granted access to the account.String
getEmail()
Deprecated.We use the customer's email instead.String
getFirstName()
Deprecated.We use the customer's name instead.String
getLastName()
Deprecated.We use the customer's name instead.Phone
getPhone()
Deprecated.Use the customer's phone numbers insteadString
getUsername()
Deprecated.We use the customer's username instead.int
hashCode()
boolean
isActive()
Specifies whether this register request for an account member represents an invite (false) or an actual account member who has accepted the invite or was added via the Admin portal (true).void
setAccount(AccountRef account)
The account in the relationship.void
setAccountRoleIds(Set<String> accountRoleIds)
The roles assigned to thisAccountMember
.void
setActive(boolean active)
Specifies whether this register request for an account member represents an invite (false) or an actual account member who has accepted the invite or was added via the Admin portal (true).void
setAdditionalPhones(List<AdditionalPhone> additionalPhones)
Deprecated.Use the customer's phone numbers insteadvoid
setAttributes(Map<String,Object> attributes)
Additional attributes that are used to describe the account membervoid
setCustomer(CustomerRef customer)
A pre-existing customer that is being granted access to the account.void
setEmail(String email)
Deprecated.We use the customer's email instead.void
setFirstName(String firstName)
Deprecated.We use the customer's name instead.void
setLastName(String lastName)
Deprecated.We use the customer's name instead.void
setPhone(Phone phone)
Deprecated.Use the customer's phone numbers insteadvoid
setUsername(String username)
Deprecated.We use the customer's username instead.String
toString()
-
-
-
Method Detail
-
getAccount
public AccountRef getAccount()
The account in the relationship.- Returns:
- the account in the relationship
-
getCustomer
public CustomerRef getCustomer()
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
-
getAccountRoleIds
public Set<String> getAccountRoleIds()
The roles assigned to thisAccountMember
.- Returns:
- The roles assigned to this account member.
-
getFirstName
@Deprecated public String getFirstName()
Deprecated.We use the customer's name instead.First name the account member. This field is only relevant if a pre-existing customer is not identified bycustomer
.- Returns:
- first name the account member
-
getLastName
@Deprecated public String getLastName()
Deprecated.We use the customer's name instead.Last name the account member. This field is only relevant if a pre-existing customer is not identified bycustomer
.- Returns:
- last name the account member
-
getUsername
@Deprecated public String getUsername()
Deprecated.We use the customer's username instead.Username for the account member. This field is only relevant if a pre-existing customer is not identified bycustomer
.- Returns:
- username for the account member
-
getEmail
@Deprecated public String getEmail()
Deprecated.We use the customer's email instead.Email address for the account member.- Returns:
- an email address for the account member
-
getPhone
@Deprecated public Phone getPhone()
Deprecated.Use the customer's phone numbers insteadThe primary phone number of the account member.- Returns:
- the primary phone number of the account member
-
getAdditionalPhones
@Deprecated public List<AdditionalPhone> getAdditionalPhones()
Deprecated.Use the customer's phone numbers insteadAdditional 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
-
isActive
public boolean isActive()
Specifies whether this register request for an account member represents an invite (false) or an actual account member who has accepted the invite or was added via the Admin portal (true).- Returns:
- whether the register request for an account member represents an invite (false) or an actual account member (true)
-
setAccount
public void setAccount(AccountRef account)
The account in the relationship.- Parameters:
accountRef
- the account in the relationship
-
setCustomer
public void setCustomer(CustomerRef customer)
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
-
setAccountRoleIds
public void setAccountRoleIds(Set<String> accountRoleIds)
The roles assigned to thisAccountMember
.- Parameters:
accountRoleIds
- The roles assigned to this account member.
-
setFirstName
@Deprecated public void setFirstName(String firstName)
Deprecated.We use the customer's name instead.First name the account member. This field is only relevant if a pre-existing customer is not identified bycustomer
.- Parameters:
firstName
- first name the account member
-
setLastName
@Deprecated public void setLastName(String lastName)
Deprecated.We use the customer's name instead.Last name the account member. This field is only relevant if a pre-existing customer is not identified bycustomer
.- Parameters:
lastName
- last name the account member
-
setUsername
@Deprecated public void setUsername(String username)
Deprecated.We use the customer's username instead.Username for the account member. This field is only relevant if a pre-existing customer is not identified bycustomer
.- Parameters:
username
- username for the account member
-
setEmail
@Deprecated public void setEmail(String email)
Deprecated.We use the customer's email instead.Email address for the account member.- Parameters:
email
- an email address for the account member
-
setPhone
@Deprecated public void setPhone(Phone phone)
Deprecated.Use the customer's phone numbers insteadThe primary phone number of the account member.- Parameters:
phone
- the primary phone number of the account member
-
setAdditionalPhones
@Deprecated public void setAdditionalPhones(List<AdditionalPhone> additionalPhones)
Deprecated.Use the customer's phone numbers insteadAdditional 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
-
setActive
public void setActive(boolean active)
Specifies whether this register request for an account member represents an invite (false) or an actual account member who has accepted the invite or was added via the Admin portal (true).- Parameters:
active
- whether the register request for an account member represents an invite (false) or an actual account member (true)
-
canEqual
protected boolean canEqual(Object other)
-
-