public interface UserAccountBuilder
Modifier and Type | Method and Description |
---|---|
UserAccountBuilder |
businessAccountId(String businessAccountId)
The id of the business account that the user account would be linked to
(e.g.
|
UserAccountBuilder |
externalUserId(String externalUserId)
The id of the user within the external system
(e.g.
|
UserAccountBuilder |
name(String name)
The name of the account (e.g.
|
UserAccount |
save()
Performs the save of the user account
|
UserAccountBuilder |
state(String state)
The initial state of the created account.
|
UserAccountBuilder |
subState(String subState)
The initial sub state of the created account.
|
UserAccountBuilder |
subType(String subType)
The sub type of the account.
|
UserAccountBuilder |
tenantId(String tenantId)
The id of the tenant that this account belongs to
|
UserAccountBuilder |
type(String type)
Set the type of the account.
|
UserAccountBuilder |
userAccountDefinitionId(String userAccountDefinitionId)
The id of the
UserAccountDefinition that should be used when creating the user account. |
UserAccountBuilder |
userAccountDefinitionKey(String userAccountDefinitionKey)
The key of the
UserAccountDefinition that should be used when creating the user account. |
UserAccountBuilder |
userId(String userId)
The id of the user that this account belongs to
|
UserAccountBuilder userId(String userId)
userId
- the user id linked with the accountUserAccountBuilder tenantId(String tenantId)
tenantId
- the tenant id for the accountUserAccountBuilder name(String name)
name
- the name for the accountUserAccountBuilder type(String type)
type
- the type of the accountfor known types
UserAccountBuilder subType(String subType)
subType
- the sub type of the accountfor known sub types
UserAccountBuilder state(String state)
UserAccountService.setStateAndSubState(String, String, String)
should be used.state
- the initial state for the created accountUserAccountBuilder subState(String subState)
UserAccountService.setStateAndSubState(String, String, String)
should be used.subState
- the initial state for the created accountUserAccountBuilder businessAccountId(String businessAccountId)
businessAccountId
- the id of the business accountUserAccountBuilder externalUserId(String externalUserId)
externalUserId
- the id of the external userUserAccountBuilder userAccountDefinitionId(String userAccountDefinitionId)
UserAccountDefinition
that should be used when creating the user account.userAccountDefinitionId
- the id of the user account definitionUserAccountBuilder userAccountDefinitionKey(String userAccountDefinitionKey)
UserAccountDefinition
that should be used when creating the user account.userAccountDefinitionKey
- the key of the user account definitionUserAccount save()
UserAccount