Class PointOfSaleDataRequestModel
- java.lang.Object
-
- net.avalara.avatax.rest.client.models.PointOfSaleDataRequestModel
-
public class PointOfSaleDataRequestModel extends java.lang.ObjectPoint-of-Sale Data Request Model
-
-
Constructor Summary
Constructors Constructor Description PointOfSaleDataRequestModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCompanyCode()Getter for companyCode A unique code that references a company within your account.java.util.DategetDocumentDate()Getter for documentDate The date associated with the response content.java.lang.BooleangetIncludeJurisCodes()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.PointOfSalePartnerIdgetPartnerId()Getter for partnerId A unique code assoicated with the Partner you may be working with.PointOfSaleFileTypegetResponseType()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.voidsetCompanyCode(java.lang.String value)Setter for companyCode A unique code that references a company within your account.voidsetDocumentDate(java.util.Date value)Setter for documentDate The date associated with the response content.voidsetIncludeJurisCodes(java.lang.Boolean value)Setter for includeJurisCodes Set this value to true to include Juris Code in the response.voidsetItemCodes(java.util.ArrayList<java.lang.String> value)Setter for itemCodes A list of item codes to include in this point-of-sale file.voidsetLocationCodes(java.util.ArrayList<java.lang.String> value)Setter for locationCodes A list of location codes to include in this point-of-sale file.voidsetPartnerId(PointOfSalePartnerId value)Setter for partnerId A unique code assoicated with the Partner you may be working with.voidsetResponseType(PointOfSaleFileType value)Setter for responseType The format of your response.voidsetTaxCodes(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.StringtoString()Returns a JSON string representation of PointOfSaleDataRequestModel
-
-
-
Method Detail
-
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:
toStringin classjava.lang.Object
-
-