Class AccountingAccount


  • public class AccountingAccount
    extends java.lang.Object
    • 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
      • 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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object