Class UpdateAccountMemberRequest
java.lang.Object
com.broadleafcommerce.customer.web.endpoint.domain.UpdateAccountMemberRequest
- All Implemented Interfaces:
Serializable
Used to describe an update that should be made to an
AccountMember- Since:
- Customer Services 2.1.0, Release Train 2.3.0
- 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 membergetEmail()Deprecated.We use the customer's email instead.getPhone()Deprecated.Use the customer's phone numbers insteadThe permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.The data restrictions that control the data this user is permitted to access.inthashCode()voidsetAccount(AccountRef account) The account in the relationship.voidsetAccountRoleIds(Set<String> accountRoleIds) The roles assigned to thisAccountMember.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 membervoidDeprecated.We use the customer's email instead.voidDeprecated.Use the customer's phone numbers insteadvoidsetRestrictedPermissions(List<RestrictedPermission> restrictedPermissions) The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.voidsetRestrictedRoles(List<RestrictedRole> restrictedRoles) The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.voidsetRestrictions(List<AccessRestriction> restrictions) The data restrictions that control the data this user is permitted to access.toString()
-
Constructor Details
-
UpdateAccountMemberRequest
public UpdateAccountMemberRequest()
-
-
Method Details
-
getAccount
The account in the relationship.- Returns:
- the account in the relationship
-
getAccountRoleIds
The roles assigned to thisAccountMember.- Returns:
- The roles assigned to this account member.
-
getEmail
Deprecated.We use the customer's email instead.An updated email address for the account member.- Returns:
- an updated email address for the account member
-
getPhone
Deprecated.Use the customer's phone numbers insteadAn updated primary phone number of the account member.- Returns:
- an updated 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
-
getRestrictions
The data restrictions that control the data this user is permitted to access.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
-
getRestrictedPermissions
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
-
getRestrictedRoles
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
-
getAttributes
Additional attributes that are used to describe the account member- Returns:
- additional attributes that are used to describe the account member
-
setAccount
The account in the relationship.- Parameters:
accountRef- the account in the relationship
-
setAccountRoleIds
The roles assigned to thisAccountMember.- Parameters:
accountRoleIds- The roles assigned to this account member.
-
setEmail
Deprecated.We use the customer's email instead.An updated email address for the account member.- Parameters:
email- an updated email address for the account member
-
setPhone
Deprecated.Use the customer's phone numbers insteadAn updated primary phone number of the account member.- Parameters:
phone- an updated 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
-
setRestrictions
The data restrictions that control the data this user is permitted to access.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
-
setRestrictedPermissions
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
-
setRestrictedRoles
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
-
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
-