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 AccountStatusIdgetAccountStatusId()Getter for accountStatusId The current status of this account.AccountTypeIdgetAccountTypeId()Getter for accountTypeId The type of this account.java.util.DategetCreatedDate()Getter for createdDate The date when this record was created.java.lang.IntegergetCreatedUserId()Getter for createdUserId The User ID of the user who created this record.java.lang.StringgetCrmid()Getter for crmid For system registrar use only.java.util.DategetEffectiveDate()Getter for effectiveDate The earliest date on which this account may be used.java.util.DategetEndDate()Getter for endDate If this account has been closed, this is the last date the account was open.java.lang.IntegergetId()Getter for id The unique ID number assigned to this account.java.lang.BooleangetIsSamlEnabled()Getter for isSamlEnabled Is Saml based authentication used by this account for user to login via AI.java.util.DategetModifiedDate()Getter for modifiedDate The date/time when this record was last modified.java.lang.IntegergetModifiedUserId()Getter for modifiedUserId The user ID of the user who last modified this record.java.lang.StringgetName()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.voidsetAccountStatusId(AccountStatusId value)Setter for accountStatusId The current status of this account.voidsetAccountTypeId(AccountTypeId value)Setter for accountTypeId The type of this account.voidsetCreatedDate(java.util.Date value)Setter for createdDate The date when this record was created.voidsetCreatedUserId(java.lang.Integer value)Setter for createdUserId The User ID of the user who created this record.voidsetCrmid(java.lang.String value)Setter for crmid For system registrar use only.voidsetEffectiveDate(java.util.Date value)Setter for effectiveDate The earliest date on which this account may be used.voidsetEndDate(java.util.Date value)Setter for endDate If this account has been closed, this is the last date the account was open.voidsetId(java.lang.Integer value)Setter for id The unique ID number assigned to this account.voidsetIsSamlEnabled(java.lang.Boolean value)Setter for isSamlEnabled Is Saml based authentication used by this account for user to login via AI.voidsetModifiedDate(java.util.Date value)Setter for modifiedDate The date/time when this record was last modified.voidsetModifiedUserId(java.lang.Integer value)Setter for modifiedUserId The user ID of the user who last modified this record.voidsetName(java.lang.String value)Setter for name The name of this account.voidsetSubscriptions(java.util.ArrayList<SubscriptionModel> value)Setter for subscriptions Optional: A list of subscriptions granted to this account.voidsetUsers(java.util.ArrayList<UserModel> value)Setter for users Optional: A list of all the users belonging to this account.java.lang.StringtoString()Returns a JSON string representation of AccountModel
-
Constructor Details
-
AccountModel
public AccountModel()
-
-
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
Getter for accountStatusId The current status of this account. -
setAccountStatusId
Setter for accountStatusId The current status of this account. -
getAccountTypeId
Getter for accountTypeId The type of this account. -
setAccountTypeId
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
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
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
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
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. -
getIsSamlEnabled
public java.lang.Boolean getIsSamlEnabled()Getter for isSamlEnabled Is Saml based authentication used by this account for user to login via AI. -
setIsSamlEnabled
public void setIsSamlEnabled(java.lang.Boolean value)Setter for isSamlEnabled Is Saml based authentication used by this account for user to login via AI. -
toString
public java.lang.String toString()Returns a JSON string representation of AccountModel- Overrides:
toStringin classjava.lang.Object
-