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.lang.Boolean
getIsSamlEnabled()
Getter for isSamlEnabled Is Saml based authentication used by this account for user to login via AI.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
setIsSamlEnabled(java.lang.Boolean value)
Setter for isSamlEnabled Is Saml based authentication used by this account for user to login via AI.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
-
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:
toString
in classjava.lang.Object
-