Class DataSourceModel


  • public class DataSourceModel
    extends java.lang.Object
    Data source object
    • Constructor Summary

      Constructors 
      Constructor Description
      DataSourceModel()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getCompanyId()
      Getter for companyId The id of the company to which the datasource belongs to.
      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.util.Date getDeletedDate()
      Getter for deletedDate The date when this record was deleted.
      java.lang.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
      java.lang.Integer getId()
      Getter for id The id of the datasource.
      java.lang.String getInstance()
      Getter for instance The unique ID number of this connection.
      java.lang.Boolean getIsAuthorized()
      Getter for isAuthorized True if this data source is authorized.
      java.lang.Boolean getIsEnabled()
      Getter for isEnabled The connection using the connection_id is enabled.
      java.lang.Boolean getIsSynced()
      Getter for isSynced If all the information has been transferred from the extractor to the database.
      java.util.Date getLastSyncedDate()
      Getter for lastSyncedDate The date when the information was last synched.
      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 Specifies the name of the extractor
      java.lang.Boolean getRecalculate()
      Getter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or not
      java.lang.String getSource()
      Getter for source The extractor/connector id.
      void setCompanyId​(java.lang.Integer value)
      Setter for companyId The id of the company to which the datasource belongs to.
      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 setDeletedDate​(java.util.Date value)
      Setter for deletedDate The date when this record was deleted.
      void setExternalState​(java.lang.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
      void setId​(java.lang.Integer value)
      Setter for id The id of the datasource.
      void setInstance​(java.lang.String value)
      Setter for instance The unique ID number of this connection.
      void setIsAuthorized​(java.lang.Boolean value)
      Setter for isAuthorized True if this data source is authorized.
      void setIsEnabled​(java.lang.Boolean value)
      Setter for isEnabled The connection using the connection_id is enabled.
      void setIsSynced​(java.lang.Boolean value)
      Setter for isSynced If all the information has been transferred from the extractor to the database.
      void setLastSyncedDate​(java.util.Date value)
      Setter for lastSyncedDate The date when the information was last synched.
      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 Specifies the name of the extractor
      void setRecalculate​(java.lang.Boolean value)
      Setter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or not
      void setSource​(java.lang.String value)
      Setter for source The extractor/connector id.
      java.lang.String toString()
      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 Detail

      • DataSourceModel

        public DataSourceModel()
    • Method Detail

      • getId

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

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

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

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

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

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

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

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

        public java.lang.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​(java.lang.Boolean value)
        Setter for isEnabled The connection using the connection_id is enabled. The customer is responsible to enable or disable.
      • getIsSynced

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

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

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

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

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

        public void setLastSyncedDate​(java.util.Date value)
        Setter for lastSyncedDate The date when the information was last synched.
      • 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.
      • 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.
      • 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.
      • 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.
      • getDeletedDate

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

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

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

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

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

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

        public java.lang.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​(java.lang.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 java.lang.String toString()
        Returns a JSON string representation of DataSourceModel
        Overrides:
        toString in class java.lang.Object