Class AccountModel

java.lang.Object
net.avalara.avatax.rest.client.models.AccountModel

public class AccountModel
extends java.lang.Object
An AvaTax account.
  • Constructor Summary

    Constructors 
    Constructor Description
    AccountModel()  
  • Method Summary

    Modifier and Type Method Description
    AccountStatusId getAccountStatusId()
    Getter for accountStatusId The current status of this account.
    AccountTypeId getAccountTypeId()
    Getter for accountTypeId The type of this account.
    java.util.Date getCreatedDate()
    Getter for createdDate The date when this record was created.
    java.lang.Integer getCreatedUserId()
    Getter for createdUserId The User ID of the user who created this record.
    java.lang.String getCrmid()
    Getter for crmid For system registrar use only.
    java.util.Date getEffectiveDate()
    Getter for effectiveDate The earliest date on which this account may be used.
    java.util.Date getEndDate()
    Getter for endDate If this account has been closed, this is the last date the account was open.
    java.lang.Integer getId()
    Getter for id The unique ID number assigned to this account.
    java.util.Date getModifiedDate()
    Getter for modifiedDate The date/time when this record was last modified.
    java.lang.Integer getModifiedUserId()
    Getter for modifiedUserId The user ID of the user who last modified this record.
    java.lang.String getName()
    Getter for name The name of this account.
    java.util.ArrayList<SubscriptionModel> getSubscriptions()
    Getter for subscriptions Optional: A list of subscriptions granted to this account.
    java.util.ArrayList<UserModel> getUsers()
    Getter for users Optional: A list of all the users belonging to this account.
    void setAccountStatusId​(AccountStatusId value)
    Setter for accountStatusId The current status of this account.
    void setAccountTypeId​(AccountTypeId value)
    Setter for accountTypeId The type of this account.
    void setCreatedDate​(java.util.Date value)
    Setter for createdDate The date when this record was created.
    void setCreatedUserId​(java.lang.Integer value)
    Setter for createdUserId The User ID of the user who created this record.
    void setCrmid​(java.lang.String value)
    Setter for crmid For system registrar use only.
    void setEffectiveDate​(java.util.Date value)
    Setter for effectiveDate The earliest date on which this account may be used.
    void setEndDate​(java.util.Date value)
    Setter for endDate If this account has been closed, this is the last date the account was open.
    void setId​(java.lang.Integer value)
    Setter for id The unique ID number assigned to this account.
    void setModifiedDate​(java.util.Date value)
    Setter for modifiedDate The date/time when this record was last modified.
    void setModifiedUserId​(java.lang.Integer value)
    Setter for modifiedUserId The user ID of the user who last modified this record.
    void setName​(java.lang.String value)
    Setter for name The name of this account.
    void setSubscriptions​(java.util.ArrayList<SubscriptionModel> value)
    Setter for subscriptions Optional: A list of subscriptions granted to this account.
    void setUsers​(java.util.ArrayList<UserModel> value)
    Setter for users Optional: A list of all the users belonging to this account.
    java.lang.String toString()
    Returns a JSON string representation of AccountModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getId

      public java.lang.Integer getId()
      Getter for id The unique ID number assigned to this account.
    • setId

      public void setId​(java.lang.Integer value)
      Setter for id The unique ID number assigned to this account.
    • getCrmid

      public java.lang.String getCrmid()
      Getter for crmid For system registrar use only.
    • setCrmid

      public void setCrmid​(java.lang.String value)
      Setter for crmid For system registrar use only.
    • getName

      public java.lang.String getName()
      Getter for name The name of this account.
    • setName

      public void setName​(java.lang.String value)
      Setter for name The name of this account.
    • getEffectiveDate

      public java.util.Date getEffectiveDate()
      Getter for effectiveDate The earliest date on which this account may be used.
    • setEffectiveDate

      public void setEffectiveDate​(java.util.Date value)
      Setter for effectiveDate The earliest date on which this account may be used.
    • getEndDate

      public java.util.Date getEndDate()
      Getter for endDate If this account has been closed, this is the last date the account was open.
    • setEndDate

      public void setEndDate​(java.util.Date value)
      Setter for endDate If this account has been closed, this is the last date the account was open.
    • getAccountStatusId

      public AccountStatusId getAccountStatusId()
      Getter for accountStatusId The current status of this account.
    • setAccountStatusId

      public void setAccountStatusId​(AccountStatusId value)
      Setter for accountStatusId The current status of this account.
    • getAccountTypeId

      public AccountTypeId getAccountTypeId()
      Getter for accountTypeId The type of this account.
    • setAccountTypeId

      public void setAccountTypeId​(AccountTypeId value)
      Setter for accountTypeId The type of this account.
    • getCreatedDate

      public java.util.Date getCreatedDate()
      Getter for createdDate The date when this record was created.
    • setCreatedDate

      public void setCreatedDate​(java.util.Date value)
      Setter for createdDate The date when this record was created.
    • getCreatedUserId

      public java.lang.Integer getCreatedUserId()
      Getter for createdUserId The User ID of the user who created this record.
    • setCreatedUserId

      public void setCreatedUserId​(java.lang.Integer value)
      Setter for createdUserId The User ID of the user who created this record.
    • getModifiedDate

      public java.util.Date getModifiedDate()
      Getter for modifiedDate The date/time when this record was last modified.
    • setModifiedDate

      public void setModifiedDate​(java.util.Date value)
      Setter for modifiedDate The date/time when this record was last modified.
    • getModifiedUserId

      public java.lang.Integer getModifiedUserId()
      Getter for modifiedUserId The user ID of the user who last modified this record.
    • setModifiedUserId

      public void setModifiedUserId​(java.lang.Integer value)
      Setter for modifiedUserId The user ID of the user who last modified this record.
    • getSubscriptions

      public java.util.ArrayList<SubscriptionModel> getSubscriptions()
      Getter for subscriptions Optional: A list of subscriptions granted to this account. To fetch this list, add the query string "?$include=Subscriptions" to your URL.
    • setSubscriptions

      public void setSubscriptions​(java.util.ArrayList<SubscriptionModel> value)
      Setter for subscriptions Optional: A list of subscriptions granted to this account. To fetch this list, add the query string "?$include=Subscriptions" to your URL.
    • getUsers

      public java.util.ArrayList<UserModel> getUsers()
      Getter for users Optional: A list of all the users belonging to this account. To fetch this list, add the query string "?$include=Users" to your URL.
    • setUsers

      public void setUsers​(java.util.ArrayList<UserModel> value)
      Setter for users Optional: A list of all the users belonging to this account. To fetch this list, add the query string "?$include=Users" to your URL.
    • toString

      public java.lang.String toString()
      Returns a JSON string representation of AccountModel
      Overrides:
      toString in class java.lang.Object