Class RegisterAccountMemberRequest
java.lang.Object
com.broadleafcommerce.customer.web.endpoint.domain.RegisterAccountMemberRequest
- All Implemented Interfaces:
Serializable
- Author:
- Chris Kittrell (ckittrell)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe 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 insteadSpecifies the status of the account member.Deprecated.We use the customer's username instead.inthashCode()booleanisActive()Deprecated, for removal: This API element is subject to removal in a future version.in favor ofstatussince Customer Services 2.1.0, Release Train 2.3.0voidsetAccount(AccountRef account) The account in the relationship.voidsetAccountRoleIds(Set<String> accountRoleIds) The roles assigned to thisAccountMember.voidsetActive(boolean active) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofstatussince Customer Services 2.1.0, Release Train 2.3.0voidsetAdditionalPhones(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.voidDeprecated.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.voidDeprecated.Use the customer's phone numbers insteadvoidTemporary setter override to keepactivein sync withstatuswithout having to callsetActive(boolean), subject to removal whenactiveis removed.voidsetUsername(String username) Deprecated.We use the customer's username instead.toString()
-
Constructor Details
-
RegisterAccountMemberRequest
public RegisterAccountMemberRequest()
-
-
Method Details
-
isActive
@Deprecated(forRemoval=true, since="Customer Services 2.1.0, Release Train 2.3.0") public boolean isActive()Deprecated, for removal: This API element is subject to removal in a future version.in favor ofstatussince Customer Services 2.1.0, Release Train 2.3.0Determines whether the account member is active. -
setActive
@Deprecated(forRemoval=true, since="Customer Services 2.1.0, Release Train 2.3.0") public void setActive(boolean active) Deprecated, for removal: This API element is subject to removal in a future version.in favor ofstatussince Customer Services 2.1.0, Release Train 2.3.0Note that when setting this value to false, it implies that the account invite is pending in the context of a register request,, therefore the status will be set toDefaultAccountMemberStatuses.INVITE_PENDINGrather thanDefaultAccountMemberStatuses.INACTIVE, unlikeAccountMember.setActive(boolean). -
setStatus
Temporary setter override to keepactivein sync withstatuswithout having to callsetActive(boolean), subject to removal whenactiveis removed. -
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
-
getStatus
Specifies the status of the account member.- See Also:
-
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
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-