Class AccountingAccount.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.AccountingAccount.Builder
-
- Enclosing class:
- AccountingAccount
public static final class AccountingAccount.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountingAccount.Builderactive(AccountingAccountActive active)Whether the account is activeAccountingAccount.Builderactive(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountActive> active)Whether the account is activeAccountingAccountbuild()AccountingAccount.Buildercode(java.lang.String code)External system's account code/numberAccountingAccount.Buildercode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code)External system's account code/numberAccountingAccount.BuildercompanyId(java.lang.String companyId)ID of the company this account belongs toAccountingAccount.BuildercompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)ID of the company this account belongs toAccountingAccount.Builderid(java.lang.String id)Unique identifierAccountingAccount.Builderid(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierAccountingAccount.Buildername(java.lang.String name)Name of the accountAccountingAccount.Buildername(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)Name of the accountAccountingAccount.BuilderremoteId(java.lang.String remoteId)Provider's unique identifierAccountingAccount.BuilderremoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierAccountingAccount.Buildertype(AccountingAccountType type)Type of accountAccountingAccount.Buildertype(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountType> type)Type of account
-
-
-
Method Detail
-
id
public AccountingAccount.Builder id(java.lang.String id)
Unique identifier
-
id
public AccountingAccount.Builder id(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
remoteId
public AccountingAccount.Builder remoteId(java.lang.String remoteId)
Provider's unique identifier
-
remoteId
public AccountingAccount.Builder remoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
companyId
public AccountingAccount.Builder companyId(java.lang.String companyId)
ID of the company this account belongs to
-
companyId
public AccountingAccount.Builder companyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
ID of the company this account belongs to
-
code
public AccountingAccount.Builder code(java.lang.String code)
External system's account code/number
-
code
public AccountingAccount.Builder code(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code)
External system's account code/number
-
name
public AccountingAccount.Builder name(java.lang.String name)
Name of the account
-
name
public AccountingAccount.Builder name(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
Name of the account
-
type
public AccountingAccount.Builder type(AccountingAccountType type)
Type of account
-
type
public AccountingAccount.Builder type(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountType> type)
Type of account
-
active
public AccountingAccount.Builder active(AccountingAccountActive active)
Whether the account is active
-
active
public AccountingAccount.Builder active(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountActive> active)
Whether the account is active
-
build
public AccountingAccount build()
-
-