Class DataSourceModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.DataSourceModel
-
public class DataSourceModel extends java.lang.ObjectData source object
-
-
Constructor Summary
Constructors Constructor Description DataSourceModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetCompanyId()Getter for companyId The id of the company to which the datasource belongs to.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.util.DategetDeletedDate()Getter for deletedDate The date when this record was deleted.java.lang.StringgetExternalState()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 userjava.lang.IntegergetId()Getter for id The id of the datasource.java.lang.StringgetInstance()Getter for instance The unique ID number of this connection.java.lang.BooleangetIsAuthorized()Getter for isAuthorized True if this data source is authorized.java.lang.BooleangetIsEnabled()Getter for isEnabled The connection using the connection_id is enabled.java.lang.BooleangetIsSynced()Getter for isSynced If all the information has been transferred from the extractor to the database.java.util.DategetLastSyncedDate()Getter for lastSyncedDate The date when the information was last synched.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 Specifies the name of the extractorjava.lang.BooleangetRecalculate()Getter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or notjava.lang.StringgetSource()Getter for source The extractor/connector id.voidsetCompanyId(java.lang.Integer value)Setter for companyId The id of the company to which the datasource belongs to.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.voidsetDeletedDate(java.util.Date value)Setter for deletedDate The date when this record was deleted.voidsetExternalState(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 uservoidsetId(java.lang.Integer value)Setter for id The id of the datasource.voidsetInstance(java.lang.String value)Setter for instance The unique ID number of this connection.voidsetIsAuthorized(java.lang.Boolean value)Setter for isAuthorized True if this data source is authorized.voidsetIsEnabled(java.lang.Boolean value)Setter for isEnabled The connection using the connection_id is enabled.voidsetIsSynced(java.lang.Boolean value)Setter for isSynced If all the information has been transferred from the extractor to the database.voidsetLastSyncedDate(java.util.Date value)Setter for lastSyncedDate The date when the information was last synched.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 Specifies the name of the extractorvoidsetRecalculate(java.lang.Boolean value)Setter for recalculate Specifies whether transactions created by this data source needs to re-calculate tax or notvoidsetSource(java.lang.String value)Setter for source The extractor/connector id.java.lang.StringtoString()Returns a JSON string representation of 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:
toStringin classjava.lang.Object
-
-