Class BatchModel

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

public class BatchModel extends Object
Represents a batch of uploaded documents.
  • Constructor Details

    • BatchModel

      public BatchModel()
  • Method Details

    • 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 String getBatchAgent()
      Getter for batchAgent The agent used to create this batch
    • setBatchAgent

      public void setBatchAgent(String value)
      Setter for batchAgent The agent used to create this batch
    • getOptions

      public String getOptions()
      Getter for options Any optional flags provided for this batch
    • setOptions

      public void setOptions(String value)
      Setter for options Any optional flags provided for this batch
    • getId

      public Integer getId()
      Getter for id The unique ID number of this batch.
    • setId

      public void setId(Integer value)
      Setter for id The unique ID number of this batch.
    • getName

      public String getName()
      Getter for name The user-friendly readable name for this batch.
    • setName

      public void setName(String value)
      Setter for name The user-friendly readable name for this batch.
    • getAccountId

      public Integer getAccountId()
      Getter for accountId The Account ID number of the account that owns this batch.
    • setAccountId

      public void setAccountId(Integer value)
      Setter for accountId The Account ID number of the account that owns this batch.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId The Company ID number of the company that owns this batch.
    • setCompanyId

      public void setCompanyId(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 Date getStartedDate()
      Getter for startedDate The date/time when this batch started processing
    • setStartedDate

      public void setStartedDate(Date value)
      Setter for startedDate The date/time when this batch started processing
    • getRecordCount

      public Integer getRecordCount()
      Getter for recordCount The number of records in this batch; determined by the server
    • setRecordCount

      public void setRecordCount(Integer value)
      Setter for recordCount The number of records in this batch; determined by the server
    • getCurrentRecord

      public Integer getCurrentRecord()
      Getter for currentRecord The current record being processed
    • setCurrentRecord

      public void setCurrentRecord(Integer value)
      Setter for currentRecord The current record being processed
    • getCompletedDate

      public Date getCompletedDate()
      Getter for completedDate The date/time when this batch was completely processed
    • setCompletedDate

      public void setCompletedDate(Date value)
      Setter for completedDate The date/time when this batch was completely processed
    • 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.
    • 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.
    • 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.
    • 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.
    • getFiles

      public ArrayList<BatchFileModel> getFiles()
      Getter for files The list of files contained in this batch.
    • setFiles

      public void setFiles(ArrayList<BatchFileModel> value)
      Setter for files The list of files contained in this batch.
    • toString

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