Class DataSourceModel

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

public class DataSourceModel extends Object
Data source object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for companyId The id of the company to which the datasource belongs to.
    Getter for createdDate The date when this record was created.
    Getter for createdUserId The User ID of the user who created this record.
    Getter for deletedDate The date when this record was deleted.
    Getter for externalState Specifies any implementation-specific information along with the DataSource.This field has no internal meaning in AvaTax and is purely for the convenience of the DataSource API user
    Getter for id The id of the datasource.
    Getter for instance The unique ID number of this connection.
    Getter for isAuthorized True if this data source is authorized.
    Getter for isEnabled The connection using the connection_id is enabled.
    Getter for isSynced If all the information has been transferred from the extractor to the database.
    Getter for lastSyncedDate The date when the information was last synched.
    Getter for modifiedDate The date/time when this record was last modified.
    Getter for modifiedUserId The user ID of the user who last modified this record.
    Getter for name Specifies the name of the extractor
    Getter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or not
    Getter for source The extractor/connector id.
    void
    Setter for companyId The id of the company to which the datasource belongs to.
    void
    Setter for createdDate The date when this record was created.
    void
    Setter for createdUserId The User ID of the user who created this record.
    void
    Setter for deletedDate The date when this record was deleted.
    void
    Setter for externalState Specifies any implementation-specific information along with the DataSource.This field has no internal meaning in AvaTax and is purely for the convenience of the DataSource API user
    void
    setId(Integer value)
    Setter for id The id of the datasource.
    void
    Setter for instance The unique ID number of this connection.
    void
    Setter for isAuthorized True if this data source is authorized.
    void
    Setter for isEnabled The connection using the connection_id is enabled.
    void
    Setter for isSynced If all the information has been transferred from the extractor to the database.
    void
    Setter for lastSyncedDate The date when the information was last synched.
    void
    Setter for modifiedDate The date/time when this record was last modified.
    void
    Setter for modifiedUserId The user ID of the user who last modified this record.
    void
    setName(String value)
    Setter for name Specifies the name of the extractor
    void
    Setter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or not
    void
    Setter for source The extractor/connector id.
    Returns a JSON string representation of DataSourceModel

    Methods inherited from class java.lang.Object

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

    • DataSourceModel

      public DataSourceModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The id of the datasource.
    • setId

      public void setId(Integer value)
      Setter for id The id of the datasource.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId The id of the company to which the datasource belongs to.
    • setCompanyId

      public void setCompanyId(Integer value)
      Setter for companyId The id of the company to which the datasource belongs to.
    • getSource

      public String getSource()
      Getter for source The extractor/connector id.
    • setSource

      public void setSource(String value)
      Setter for source The extractor/connector id.
    • getInstance

      public String getInstance()
      Getter for instance The unique ID number of this connection.
    • setInstance

      public void setInstance(String value)
      Setter for instance The unique ID number of this connection.
    • getIsEnabled

      public Boolean getIsEnabled()
      Getter for isEnabled The connection using the connection_id is enabled. The customer is responsible to enable or disable.
    • setIsEnabled

      public void setIsEnabled(Boolean value)
      Setter for isEnabled The connection using the connection_id is enabled. The customer is responsible to enable or disable.
    • getIsSynced

      public Boolean getIsSynced()
      Getter for isSynced If all the information has been transferred from the extractor to the database.
    • setIsSynced

      public void setIsSynced(Boolean value)
      Setter for isSynced If all the information has been transferred from the extractor to the database.
    • getIsAuthorized

      public Boolean getIsAuthorized()
      Getter for isAuthorized True if this data source is authorized.
    • setIsAuthorized

      public void setIsAuthorized(Boolean value)
      Setter for isAuthorized True if this data source is authorized.
    • getLastSyncedDate

      public Date getLastSyncedDate()
      Getter for lastSyncedDate The date when the information was last synched.
    • setLastSyncedDate

      public void setLastSyncedDate(Date value)
      Setter for lastSyncedDate The date when the information was last synched.
    • getCreatedUserId

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

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

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

      public void setCreatedDate(Date value)
      Setter for createdDate The date when this record was created.
    • getModifiedUserId

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

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

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

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

      public Date getDeletedDate()
      Getter for deletedDate The date when this record was deleted.
    • setDeletedDate

      public void setDeletedDate(Date value)
      Setter for deletedDate The date when this record was deleted.
    • getRecalculate

      public Boolean getRecalculate()
      Getter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or not
    • setRecalculate

      public void setRecalculate(Boolean value)
      Setter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or not
    • getName

      public String getName()
      Getter for name Specifies the name of the extractor
    • setName

      public void setName(String value)
      Setter for name Specifies the name of the extractor
    • getExternalState

      public String getExternalState()
      Getter for externalState Specifies any implementation-specific information along with the DataSource.This field has no internal meaning in AvaTax and is purely for the convenience of the DataSource API user
    • setExternalState

      public void setExternalState(String value)
      Setter for externalState Specifies any implementation-specific information along with the DataSource.This field has no internal meaning in AvaTax and is purely for the convenience of the DataSource API user
    • toString

      public String toString()
      Returns a JSON string representation of DataSourceModel
      Overrides:
      toString in class Object