Class BatchFileModel

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

public class BatchFileModel
extends java.lang.Object
Represents one file in a batch upload.
  • Constructor Summary

    Constructors 
    Constructor Description
    BatchFileModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.Integer getBatchId()
    Getter for batchId The unique ID number of the batch that this file belongs to.
    java.lang.String getContent()
    Getter for content Content of the batch file.
    java.lang.Integer getContentLength()
    Getter for contentLength Size of content, in bytes.
    java.lang.String getContentType()
    Getter for contentType Content mime type (e.g.
    java.lang.Integer getErrorCount()
    Getter for errorCount Number of errors that occurred when processing this file.
    java.lang.String getFileExtension()
    Getter for fileExtension File extension (e.g.
    java.lang.String getFilePath()
    Getter for filePath Path to the file - name/S3 key
    java.lang.Integer getId()
    Getter for id The unique ID number assigned to this batch file.
    java.lang.String getName()
    Getter for name Logical Name of file (e.g.
    void setBatchId​(java.lang.Integer value)
    Setter for batchId The unique ID number of the batch that this file belongs to.
    void setContent​(java.lang.String value)
    Setter for content Content of the batch file.
    void setContentLength​(java.lang.Integer value)
    Setter for contentLength Size of content, in bytes.
    void setContentType​(java.lang.String value)
    Setter for contentType Content mime type (e.g.
    void setErrorCount​(java.lang.Integer value)
    Setter for errorCount Number of errors that occurred when processing this file.
    void setFileExtension​(java.lang.String value)
    Setter for fileExtension File extension (e.g.
    void setFilePath​(java.lang.String value)
    Setter for filePath Path to the file - name/S3 key
    void setId​(java.lang.Integer value)
    Setter for id The unique ID number assigned to this batch file.
    void setName​(java.lang.String value)
    Setter for name Logical Name of file (e.g.
    java.lang.String toString()
    Returns a JSON string representation of BatchFileModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getId

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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