public class SubAccountBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
SubAccount |
build()
Builds subAccount
|
static SubAccountBuilder |
newSubAccount()
Creates a subAccount builder
|
static SubAccountBuilder |
newSubAccount(String name)
Creates a subAccount builder for a given name
|
static SubAccountBuilder |
newSubAccount(SubAccount subAccount)
Creates a subAccount builder for a given SubAccount instance
|
SubAccountBuilder |
withLanguage(String language)
Sets language ID for subAccount
|
SubAccountBuilder |
withName(String name)
Sets name for subAccount
|
SubAccountBuilder |
withParentAccountId(String parentAccountId)
Sets parent account ID for subAccount
|
SubAccountBuilder |
withTimezoneId(String timezoneId)
Sets timezone ID for subAccount
|
public static SubAccountBuilder newSubAccount()
public static SubAccountBuilder newSubAccount(String name)
name - subAccount namepublic static SubAccountBuilder newSubAccount(SubAccount subAccount)
subAccount - another subAccount instancepublic SubAccountBuilder withName(String name)
name - subAccount namepublic SubAccountBuilder withParentAccountId(String parentAccountId)
parentAccountId - parent account IDpublic SubAccountBuilder withLanguage(String language)
language - language IDpublic SubAccountBuilder withTimezoneId(String timezoneId)
timezoneId - timezone IDpublic SubAccount build()
Copyright 2022 OneSpan All rights reserved.