Class BatchModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.BatchModel
-
public class BatchModel extends java.lang.ObjectRepresents a batch of uploaded documents.
-
-
Constructor Summary
Constructors Constructor Description BatchModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetAccountId()Getter for accountId The Account ID number of the account that owns this batch.java.lang.StringgetBatchAgent()Getter for batchAgent The agent used to create this batchjava.lang.IntegergetCompanyId()Getter for companyId The Company ID number of the company that owns this batch.java.util.DategetCompletedDate()Getter for completedDate The date/time when this batch was completely processedjava.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.lang.IntegergetCurrentRecord()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.IntegergetId()Getter for id The unique ID number of this batch.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 The user-friendly readable name for this batch.java.lang.StringgetOptions()Getter for options Any optional flags provided for this batchjava.lang.IntegergetRecordCount()Getter for recordCount The number of records in this batch; determined by the serverjava.util.DategetStartedDate()Getter for startedDate The date/time when this batch started processingBatchStatusgetStatus()Getter for status This batch's current processing statusBatchTypegetType()Getter for type The type of this batch.voidsetAccountId(java.lang.Integer value)Setter for accountId The Account ID number of the account that owns this batch.voidsetBatchAgent(java.lang.String value)Setter for batchAgent The agent used to create this batchvoidsetCompanyId(java.lang.Integer value)Setter for companyId The Company ID number of the company that owns this batch.voidsetCompletedDate(java.util.Date value)Setter for completedDate The date/time when this batch was completely processedvoidsetCreatedDate(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.voidsetCurrentRecord(java.lang.Integer value)Setter for currentRecord The current record being processedvoidsetFiles(java.util.ArrayList<BatchFileModel> value)Setter for files The list of files contained in this batch.voidsetId(java.lang.Integer value)Setter for id The unique ID number of this batch.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 The user-friendly readable name for this batch.voidsetOptions(java.lang.String value)Setter for options Any optional flags provided for this batchvoidsetRecordCount(java.lang.Integer value)Setter for recordCount The number of records in this batch; determined by the servervoidsetStartedDate(java.util.Date value)Setter for startedDate The date/time when this batch started processingvoidsetStatus(BatchStatus value)Setter for status This batch's current processing statusvoidsetType(BatchType value)Setter for type The type of this batch.java.lang.StringtoString()Returns a JSON string representation of BatchModel
-
-
-
Method Detail
-
getType
public BatchType getType()
Getter for type The type of this batch.
-
setType
public void setType(BatchType value)
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
public BatchStatus getStatus()
Getter for status This batch's current processing status
-
setStatus
public void setStatus(BatchStatus value)
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
public java.util.ArrayList<BatchFileModel> getFiles()
Getter for files The list of files contained in this batch.
-
setFiles
public void setFiles(java.util.ArrayList<BatchFileModel> value)
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:
toStringin classjava.lang.Object
-
-