Class BatchFileModel

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

public class BatchFileModel extends Object
Represents one file in a batch upload.
  • Constructor Details

    • BatchFileModel

      public BatchFileModel()
  • Method Details

    • getId

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

      public void setId(Integer value)
      Setter for id The unique ID number assigned to this batch file.
    • getBatchId

      public Integer getBatchId()
      Getter for batchId The unique ID number of the batch that this file belongs to.
    • setBatchId

      public void setBatchId(Integer value)
      Setter for batchId The unique ID number of the batch that this file belongs to.
    • getName

      public String getName()
      Getter for name Logical Name of file (e.g. "Input" or "Error").
    • setName

      public void setName(String value)
      Setter for name Logical Name of file (e.g. "Input" or "Error").
    • getContent

      public String getContent()
      Getter for content Content of the batch file.
    • setContent

      public void setContent(String value)
      Setter for content Content of the batch file.
    • getContentLength

      public Integer getContentLength()
      Getter for contentLength Size of content, in bytes.
    • setContentLength

      public void setContentLength(Integer value)
      Setter for contentLength Size of content, in bytes.
    • getContentType

      public String getContentType()
      Getter for contentType Content mime type (e.g. text/csv). This is used for HTTP downloading.
    • setContentType

      public void setContentType(String value)
      Setter for contentType Content mime type (e.g. text/csv). This is used for HTTP downloading.
    • getFileExtension

      public String getFileExtension()
      Getter for fileExtension File extension (e.g. CSV).
    • setFileExtension

      public void setFileExtension(String value)
      Setter for fileExtension File extension (e.g. CSV).
    • getFilePath

      public String getFilePath()
      Getter for filePath Path to the file - name/S3 key
    • setFilePath

      public void setFilePath(String value)
      Setter for filePath Path to the file - name/S3 key
    • getErrorCount

      public Integer getErrorCount()
      Getter for errorCount Number of errors that occurred when processing this file.
    • setErrorCount

      public void setErrorCount(Integer value)
      Setter for errorCount Number of errors that occurred when processing this file.
    • toString

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