Class BatchModel
java.lang.Object
net.avalara.avatax.rest.client.models.BatchModel
public class BatchModel
extends java.lang.Object
Represents a batch of uploaded documents.
-
Constructor Summary
Constructors Constructor Description BatchModel()
-
Method Summary
Modifier and Type Method Description java.lang.Integer
getAccountId()
Getter for accountId The Account ID number of the account that owns this batch.java.lang.String
getBatchAgent()
Getter for batchAgent The agent used to create this batchjava.lang.Integer
getCompanyId()
Getter for companyId The Company ID number of the company that owns this batch.java.util.Date
getCompletedDate()
Getter for completedDate The date/time when this batch was completely processedjava.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.Integer
getCurrentRecord()
Getter for currentRecord The current record being processedjava.util.ArrayList<BatchFileModel>
getFiles()
Getter for files The list of files contained in this batch.java.lang.Integer
getId()
Getter for id The unique ID number of this batch.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 user-friendly readable name for this batch.java.lang.String
getOptions()
Getter for options Any optional flags provided for this batchjava.lang.Integer
getRecordCount()
Getter for recordCount The number of records in this batch; determined by the serverjava.util.Date
getStartedDate()
Getter for startedDate The date/time when this batch started processingBatchStatus
getStatus()
Getter for status This batch's current processing statusBatchType
getType()
Getter for type The type of this batch.void
setAccountId(java.lang.Integer value)
Setter for accountId The Account ID number of the account that owns this batch.void
setBatchAgent(java.lang.String value)
Setter for batchAgent The agent used to create this batchvoid
setCompanyId(java.lang.Integer value)
Setter for companyId The Company ID number of the company that owns this batch.void
setCompletedDate(java.util.Date value)
Setter for completedDate The date/time when this batch was completely processedvoid
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
setCurrentRecord(java.lang.Integer value)
Setter for currentRecord The current record being processedvoid
setFiles(java.util.ArrayList<BatchFileModel> value)
Setter for files The list of files contained in this batch.void
setId(java.lang.Integer value)
Setter for id The unique ID number of this batch.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 user-friendly readable name for this batch.void
setOptions(java.lang.String value)
Setter for options Any optional flags provided for this batchvoid
setRecordCount(java.lang.Integer value)
Setter for recordCount The number of records in this batch; determined by the servervoid
setStartedDate(java.util.Date value)
Setter for startedDate The date/time when this batch started processingvoid
setStatus(BatchStatus value)
Setter for status This batch's current processing statusvoid
setType(BatchType value)
Setter for type The type of this batch.java.lang.String
toString()
Returns a JSON string representation of BatchModel
-
Constructor Details
-
BatchModel
public BatchModel()
-
-
Method Details
-
getType
Getter for type The type of this batch. -
setType
Setter for type The type of this batch. -
getBatchAgent
public java.lang.String getBatchAgent()Getter for batchAgent The agent used to create this batch -
setBatchAgent
public void setBatchAgent(java.lang.String value)Setter for batchAgent The agent used to create this batch -
getOptions
public java.lang.String getOptions()Getter for options Any optional flags provided for this batch -
setOptions
public void setOptions(java.lang.String value)Setter for options Any optional flags provided for this batch -
getId
public java.lang.Integer getId()Getter for id The unique ID number of this batch. -
setId
public void setId(java.lang.Integer value)Setter for id The unique ID number of this batch. -
getName
public java.lang.String getName()Getter for name The user-friendly readable name for this batch. -
setName
public void setName(java.lang.String value)Setter for name The user-friendly readable name for this batch. -
getAccountId
public java.lang.Integer getAccountId()Getter for accountId The Account ID number of the account that owns this batch. -
setAccountId
public void setAccountId(java.lang.Integer value)Setter for accountId The Account ID number of the account that owns this batch. -
getCompanyId
public java.lang.Integer getCompanyId()Getter for companyId The Company ID number of the company that owns this batch. -
setCompanyId
public void setCompanyId(java.lang.Integer value)Setter for companyId The Company ID number of the company that owns this batch. -
getStatus
Getter for status This batch's current processing status -
setStatus
Setter for status This batch's current processing status -
getStartedDate
public java.util.Date getStartedDate()Getter for startedDate The date/time when this batch started processing -
setStartedDate
public void setStartedDate(java.util.Date value)Setter for startedDate The date/time when this batch started processing -
getRecordCount
public java.lang.Integer getRecordCount()Getter for recordCount The number of records in this batch; determined by the server -
setRecordCount
public void setRecordCount(java.lang.Integer value)Setter for recordCount The number of records in this batch; determined by the server -
getCurrentRecord
public java.lang.Integer getCurrentRecord()Getter for currentRecord The current record being processed -
setCurrentRecord
public void setCurrentRecord(java.lang.Integer value)Setter for currentRecord The current record being processed -
getCompletedDate
public java.util.Date getCompletedDate()Getter for completedDate The date/time when this batch was completely processed -
setCompletedDate
public void setCompletedDate(java.util.Date value)Setter for completedDate The date/time when this batch was completely processed -
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. -
getFiles
Getter for files The list of files contained in this batch. -
setFiles
Setter for files The list of files contained in this batch. -
toString
public java.lang.String toString()Returns a JSON string representation of BatchModel- Overrides:
toString
in classjava.lang.Object
-