Class PointOfSaleDataRequestModel

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

public class PointOfSaleDataRequestModel
extends java.lang.Object
Point-of-Sale Data Request Model
  • Constructor Summary

    Constructors 
    Constructor Description
    PointOfSaleDataRequestModel()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCompanyCode()
    Getter for companyCode A unique code that references a company within your account.
    java.util.Date getDocumentDate()
    Getter for documentDate The date associated with the response content.
    java.lang.Boolean getIncludeJurisCodes()
    Getter for includeJurisCodes Set this value to true to include Juris Code in the response.
    java.util.ArrayList<java.lang.String> getItemCodes()
    Getter for itemCodes A list of item codes to include in this point-of-sale file.
    java.util.ArrayList<java.lang.String> getLocationCodes()
    Getter for locationCodes A list of location codes to include in this point-of-sale file.
    PointOfSalePartnerId getPartnerId()
    Getter for partnerId A unique code assoicated with the Partner you may be working with.
    PointOfSaleFileType getResponseType()
    Getter for responseType The format of your response.
    java.util.ArrayList<java.lang.String> getTaxCodes()
    Getter for taxCodes A list of tax codes to include in this point-of-sale file.
    void setCompanyCode​(java.lang.String value)
    Setter for companyCode A unique code that references a company within your account.
    void setDocumentDate​(java.util.Date value)
    Setter for documentDate The date associated with the response content.
    void setIncludeJurisCodes​(java.lang.Boolean value)
    Setter for includeJurisCodes Set this value to true to include Juris Code in the response.
    void setItemCodes​(java.util.ArrayList<java.lang.String> value)
    Setter for itemCodes A list of item codes to include in this point-of-sale file.
    void setLocationCodes​(java.util.ArrayList<java.lang.String> value)
    Setter for locationCodes A list of location codes to include in this point-of-sale file.
    void setPartnerId​(PointOfSalePartnerId value)
    Setter for partnerId A unique code assoicated with the Partner you may be working with.
    void setResponseType​(PointOfSaleFileType value)
    Setter for responseType The format of your response.
    void setTaxCodes​(java.util.ArrayList<java.lang.String> value)
    Setter for taxCodes A list of tax codes to include in this point-of-sale file.
    java.lang.String toString()
    Returns a JSON string representation of PointOfSaleDataRequestModel

    Methods inherited from class java.lang.Object

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

  • Method Details

    • getCompanyCode

      public java.lang.String getCompanyCode()
      Getter for companyCode A unique code that references a company within your account.
    • setCompanyCode

      public void setCompanyCode​(java.lang.String value)
      Setter for companyCode A unique code that references a company within your account.
    • getDocumentDate

      public java.util.Date getDocumentDate()
      Getter for documentDate The date associated with the response content. Default is current date. This field can be used to backdate or postdate the response content.
    • setDocumentDate

      public void setDocumentDate​(java.util.Date value)
      Setter for documentDate The date associated with the response content. Default is current date. This field can be used to backdate or postdate the response content.
    • getResponseType

      public PointOfSaleFileType getResponseType()
      Getter for responseType The format of your response. Formats include JSON, CSV, and XML.
    • setResponseType

      public void setResponseType​(PointOfSaleFileType value)
      Setter for responseType The format of your response. Formats include JSON, CSV, and XML.
    • getTaxCodes

      public java.util.ArrayList<java.lang.String> getTaxCodes()
      Getter for taxCodes A list of tax codes to include in this point-of-sale file. If no tax codes are specified, response will include all distinct tax codes associated with the Items within your company.
    • setTaxCodes

      public void setTaxCodes​(java.util.ArrayList<java.lang.String> value)
      Setter for taxCodes A list of tax codes to include in this point-of-sale file. If no tax codes are specified, response will include all distinct tax codes associated with the Items within your company.
    • getItemCodes

      public java.util.ArrayList<java.lang.String> getItemCodes()
      Getter for itemCodes A list of item codes to include in this point-of-sale file. If no item codes are specified, responese will include all distinct item codes associated with the Items within your company.
    • setItemCodes

      public void setItemCodes​(java.util.ArrayList<java.lang.String> value)
      Setter for itemCodes A list of item codes to include in this point-of-sale file. If no item codes are specified, responese will include all distinct item codes associated with the Items within your company.
    • getLocationCodes

      public java.util.ArrayList<java.lang.String> getLocationCodes()
      Getter for locationCodes A list of location codes to include in this point-of-sale file. If no location codes are specified, response will include all locations within your company.
    • setLocationCodes

      public void setLocationCodes​(java.util.ArrayList<java.lang.String> value)
      Setter for locationCodes A list of location codes to include in this point-of-sale file. If no location codes are specified, response will include all locations within your company.
    • getIncludeJurisCodes

      public java.lang.Boolean getIncludeJurisCodes()
      Getter for includeJurisCodes Set this value to true to include Juris Code in the response.
    • setIncludeJurisCodes

      public void setIncludeJurisCodes​(java.lang.Boolean value)
      Setter for includeJurisCodes Set this value to true to include Juris Code in the response.
    • getPartnerId

      public PointOfSalePartnerId getPartnerId()
      Getter for partnerId A unique code assoicated with the Partner you may be working with. If you are not working with a Partner or your Partner has not provided you an ID, leave null.
    • setPartnerId

      public void setPartnerId​(PointOfSalePartnerId value)
      Setter for partnerId A unique code assoicated with the Partner you may be working with. If you are not working with a Partner or your Partner has not provided you an ID, leave null.
    • toString

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