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 booleancanEqual(Object other)booleanequals(Object o)AccountRefgetAccount()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 memberCustomerRefgetCustomer()A pre-existing customer that is being granted access to the account.StringgetEmail()Deprecated.We use the customer's email instead.StringgetFirstName()Deprecated.We use the customer's name instead.StringgetLastName()Deprecated.We use the customer's name instead.PhonegetPhone()Deprecated.Use the customer's phone numbers insteadStringgetUsername()Deprecated.We use the customer's username instead.inthashCode()booleanisActive()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).voidsetAccount(AccountRef account)The account in the relationship.voidsetAccountRoleIds(Set<String> accountRoleIds)The roles assigned to thisAccountMember.voidsetActive(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).voidsetAdditionalPhones(List<AdditionalPhone> additionalPhones)Deprecated.Use the customer's phone numbers insteadvoidsetAttributes(Map<String,Object> attributes)Additional attributes that are used to describe the account membervoidsetCustomer(CustomerRef customer)A pre-existing customer that is being granted access to the account.voidsetEmail(String email)Deprecated.We use the customer's email instead.voidsetFirstName(String firstName)Deprecated.We use the customer's name instead.voidsetLastName(String lastName)Deprecated.We use the customer's name instead.voidsetPhone(Phone phone)Deprecated.Use the customer's phone numbers insteadvoidsetUsername(String username)Deprecated.We use the customer's username instead.StringtoString()
-
-
-
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)
-
-