Class CreateAccountUserRequest
java.lang.Object
com.broadleafcommerce.customer.web.endpoint.domain.CreateAccountUserRequest
- All Implemented Interfaces:
Serializable
DTO used to create a new account user.
- Since:
- Customer Services 2.1.0, Release Train 2.3.0
- Author:
- Sunny Yu
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe customer's permissions within the account.The customer's roles within the account.Additional attributes that are used to describe the account membergetEmail()The email address of the customer.The first name of the customer, if the fullName is not being used for the customer.The full name of the customer, if the component parts firstName, middleName, and lastName are not being used to comprise the full name.The last name of the customer, if the fullName is not being used for the customer.The middle name of the customer, if the fullName is not being used for the customer.getPhone()The phone number of the customer.The 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.Specifies the status of the account member.The username of the customer, used to log in.inthashCode()voidsetAccountPermissionIds(Set<String> accountPermissionIds) The customer's permissions within the account.voidsetAccountRoleIds(Set<String> accountRoleIds) The customer's roles within the account.voidsetAttributes(Map<String, Object> attributes) Additional attributes that are used to describe the account membervoidThe email address of the customer.voidsetFirstName(String firstName) The first name of the customer, if the fullName is not being used for the customer.voidsetFullName(String fullName) The full name of the customer, if the component parts firstName, middleName, and lastName are not being used to comprise the full name.voidsetLastName(String lastName) The last name of the customer, if the fullName is not being used for the customer.voidsetMiddleName(String middleName) The middle name of the customer, if the fullName is not being used for the customer.voidThe phone number of the customer.voidsetRestrictedPermissions(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.voidSpecifies the status of the account member.voidsetUsername(String username) The username of the customer, used to log in.toString()
-
Constructor Details
-
CreateAccountUserRequest
public CreateAccountUserRequest()
-
-
Method Details
-
getFirstName
The first name of the customer, if the fullName is not being used for the customer. -
getMiddleName
The middle name of the customer, if the fullName is not being used for the customer. -
getLastName
The last name of the customer, if the fullName is not being used for the customer.- Returns:
- the last name of the customer
-
getFullName
The full name of the customer, if the component parts firstName, middleName, and lastName are not being used to comprise the full name. -
getUsername
The username of the customer, used to log in. -
getEmail
The email address of the customer. -
getPhone
The phone number of the customer. -
getAccountRoleIds
The customer's roles within the account. These map to role IDs in the auth service. -
getAccountPermissionIds
The customer's permissions within the account. These map to permission IDs in the auth service. -
getRestrictions
The data restrictions that control the data this user is permitted to access. -
getRestrictedRoles
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
getRestrictedPermissions
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
getStatus
Specifies the status of the account member.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
- See Also:
-
getAttributes
Additional attributes that are used to describe the account member- Returns:
- additional attributes that are used to describe the account member
-
setFirstName
The first name of the customer, if the fullName is not being used for the customer. -
setMiddleName
The middle name of the customer, if the fullName is not being used for the customer. -
setLastName
The last name of the customer, if the fullName is not being used for the customer. -
setFullName
The full name of the customer, if the component parts firstName, middleName, and lastName are not being used to comprise the full name. -
setUsername
The username of the customer, used to log in. -
setEmail
The email address of the customer. -
setPhone
The phone number of the customer. -
setAccountRoleIds
The customer's roles within the account. These map to role IDs in the auth service. -
setAccountPermissionIds
The customer's permissions within the account. These map to permission IDs in the auth service. -
setRestrictions
The data restrictions that control the data this user is permitted to access. -
setRestrictedRoles
The roles that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
setRestrictedPermissions
The permissions that this user is directly assigned that are restricted to only apply when accessing certain segments of data. -
setStatus
Specifies the status of the account member.- Since:
- Customer Services 2.1.0, Release Train 2.3.0
- See Also:
-
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
-