Class AccountingAccount
- java.lang.Object
-
- com.stackone.stackone_client_java.models.components.AccountingAccount
-
public class AccountingAccount extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountingAccount.Builder
-
Constructor Summary
Constructors Constructor Description AccountingAccount()AccountingAccount(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountType> type, org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountActive> active)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.openapitools.jackson.nullable.JsonNullable<AccountingAccountActive>active()Whether the account is activestatic AccountingAccount.Builderbuilder()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>code()External system's account code/numberorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>companyId()ID of the company this account belongs tobooleanequals(java.lang.Object o)inthashCode()org.openapitools.jackson.nullable.JsonNullable<java.lang.String>id()Unique identifierorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>name()Name of the accountorg.openapitools.jackson.nullable.JsonNullable<java.lang.String>remoteId()Provider's unique identifierjava.lang.StringtoString()org.openapitools.jackson.nullable.JsonNullable<AccountingAccountType>type()Type of accountAccountingAccountwithActive(AccountingAccountActive active)Whether the account is activeAccountingAccountwithActive(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountActive> active)Whether the account is activeAccountingAccountwithCode(java.lang.String code)External system's account code/numberAccountingAccountwithCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code)External system's account code/numberAccountingAccountwithCompanyId(java.lang.String companyId)ID of the company this account belongs toAccountingAccountwithCompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)ID of the company this account belongs toAccountingAccountwithId(java.lang.String id)Unique identifierAccountingAccountwithId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)Unique identifierAccountingAccountwithName(java.lang.String name)Name of the accountAccountingAccountwithName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)Name of the accountAccountingAccountwithRemoteId(java.lang.String remoteId)Provider's unique identifierAccountingAccountwithRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)Provider's unique identifierAccountingAccountwithType(AccountingAccountType type)Type of accountAccountingAccountwithType(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountType> type)Type of account
-
-
-
Constructor Detail
-
AccountingAccount
public AccountingAccount(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code, org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name, org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountType> type, org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountActive> active)
-
AccountingAccount
public AccountingAccount()
-
-
Method Detail
-
id
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id()
Unique identifier
-
remoteId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId()
Provider's unique identifier
-
companyId
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId()
ID of the company this account belongs to
-
code
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code()
External system's account code/number
-
name
public org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name()
Name of the account
-
type
public org.openapitools.jackson.nullable.JsonNullable<AccountingAccountType> type()
Type of account
-
active
public org.openapitools.jackson.nullable.JsonNullable<AccountingAccountActive> active()
Whether the account is active
-
builder
public static AccountingAccount.Builder builder()
-
withId
public AccountingAccount withId(java.lang.String id)
Unique identifier
-
withId
public AccountingAccount withId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> id)
Unique identifier
-
withRemoteId
public AccountingAccount withRemoteId(java.lang.String remoteId)
Provider's unique identifier
-
withRemoteId
public AccountingAccount withRemoteId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> remoteId)
Provider's unique identifier
-
withCompanyId
public AccountingAccount withCompanyId(java.lang.String companyId)
ID of the company this account belongs to
-
withCompanyId
public AccountingAccount withCompanyId(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> companyId)
ID of the company this account belongs to
-
withCode
public AccountingAccount withCode(java.lang.String code)
External system's account code/number
-
withCode
public AccountingAccount withCode(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> code)
External system's account code/number
-
withName
public AccountingAccount withName(java.lang.String name)
Name of the account
-
withName
public AccountingAccount withName(org.openapitools.jackson.nullable.JsonNullable<java.lang.String> name)
Name of the account
-
withType
public AccountingAccount withType(AccountingAccountType type)
Type of account
-
withType
public AccountingAccount withType(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountType> type)
Type of account
-
withActive
public AccountingAccount withActive(AccountingAccountActive active)
Whether the account is active
-
withActive
public AccountingAccount withActive(org.openapitools.jackson.nullable.JsonNullable<? extends AccountingAccountActive> active)
Whether the account is active
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-