Class RegisterAccountMemberRequest
java.lang.Object
com.broadleafcommerce.customer.web.endpoint.domain.RegisterAccountMemberRequest
- All Implemented Interfaces:
Serializable
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The account in the relationship.The roles assigned to thisAccountMember
.Deprecated.Use the customer's phone numbers insteadAdditional attributes that are used to describe the account memberA pre-existing customer that is being granted access to the account.getEmail()
Deprecated.We use the customer's email instead.Deprecated.We use the customer's name instead.Deprecated.We use the customer's name instead.getPhone()
Deprecated.Use the customer's phone numbers insteadDeprecated.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
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
Deprecated.Use the customer's phone numbers insteadvoid
setUsername
(String username) Deprecated.We use the customer's username instead.toString()
-
Constructor Details
-
RegisterAccountMemberRequest
public RegisterAccountMemberRequest()
-
-
Method Details
-
getAccount
The account in the relationship.- Returns:
- the account in the relationship
-
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
The roles assigned to thisAccountMember
.- Returns:
- The roles assigned to this account member.
-
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.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.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.We use the customer's email instead.Email address for the account member.- Returns:
- an email address for the account member
-
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.Use the customer's phone numbers insteadAdditional phone numbers associated with the account member.- Returns:
- additional phone numbers associated with the account member
-
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
The account in the relationship.- Parameters:
accountRef
- the account in the relationship
-
setCustomer
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
The roles assigned to thisAccountMember
.- Parameters:
accountRoleIds
- The roles assigned to this account member.
-
setFirstName
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.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.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.We use the customer's email instead.Email address for the account member.- Parameters:
email
- an email address for the account member
-
setPhone
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.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
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)
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-