Class ExportDocumentLineModel

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

public class ExportDocumentLineModel extends Object
An input model for executing a report detailed to the document line level
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP
    Getter for country The transactions in the country you wish to run a report.
    Getter for currencyCode The currency your report is displayed in.
    Getter for customerVendorCode The code your business application uses to identify a customer or vendor
    Getter for dateFilter The type of date to filter your transactions
    Getter for docType The transaction type you want to run a report on
    Getter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, Cancelled
    Getter for endDate The end date filter for report execution.
    Getter for format The file format.
    Getter for includeDocumentLineDetails If true, include document line details in the generated report.
    Getter for isLocked If true, include only documents that are locked.
    Getter for isModifiedDateSameAsDocumentDate Use this parameter when dateFilter = ModifiedDate.
    Getter for merchantSellerIdentifier If set, include only documents associated with these merchantSellerIds.Multiple merchantSellerIds should be sent by comma separated values.
    Getter for numberOfPartitions Number of partitions (2 - 250) to split the report into.
    Getter for partition The zero-based partition number to retrieve in this export request.
    Getter for reportSource Defines report source.
    Getter for startDate The start date filter for report execution.
    Getter for state The state associated with the transactions you wish to run a report.
    Getter for taxCode The AvaTax tax code or customer tax code associated with the item or SKU in the transaction
    Getter for taxGroup TaxGroup is required to support Sales tax (Sales + SellersUse) and VAT (Input+ Output).
    Getter for taxName The description of the tax
    Getter for taxSubType Defines the individual taxes associated with a TaxType category, such as Lodging TaxType which supports numerous TaxSubTypes, including Hotel, Occupancy, ConventionCenter, Accommotations, etc.
    void
    Setter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP
    void
    Setter for country The transactions in the country you wish to run a report.
    void
    Setter for currencyCode The currency your report is displayed in.
    void
    Setter for customerVendorCode The code your business application uses to identify a customer or vendor
    void
    Setter for dateFilter The type of date to filter your transactions
    void
    Setter for docType The transaction type you want to run a report on
    void
    Setter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, Cancelled
    void
    Setter for endDate The end date filter for report execution.
    void
    Setter for format The file format.
    void
    Setter for includeDocumentLineDetails If true, include document line details in the generated report.
    void
    Setter for isLocked If true, include only documents that are locked.
    void
    Setter for isModifiedDateSameAsDocumentDate Use this parameter when dateFilter = ModifiedDate.
    void
    Setter for merchantSellerIdentifier If set, include only documents associated with these merchantSellerIds.Multiple merchantSellerIds should be sent by comma separated values.
    void
    Setter for numberOfPartitions Number of partitions (2 - 250) to split the report into.
    void
    Setter for partition The zero-based partition number to retrieve in this export request.
    void
    Setter for reportSource Defines report source.
    void
    Setter for startDate The start date filter for report execution.
    void
    Setter for state The state associated with the transactions you wish to run a report.
    void
    Setter for taxCode The AvaTax tax code or customer tax code associated with the item or SKU in the transaction
    void
    Setter for taxGroup TaxGroup is required to support Sales tax (Sales + SellersUse) and VAT (Input+ Output).
    void
    Setter for taxName The description of the tax
    void
    Setter for taxSubType Defines the individual taxes associated with a TaxType category, such as Lodging TaxType which supports numerous TaxSubTypes, including Hotel, Occupancy, ConventionCenter, Accommotations, etc.
    Returns a JSON string representation of ExportDocumentLineModel

    Methods inherited from class java.lang.Object

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

    • ExportDocumentLineModel

      public ExportDocumentLineModel()
  • Method Details

    • getFormat

      public ReportFormat getFormat()
      Getter for format The file format.
    • setFormat

      public void setFormat(ReportFormat value)
      Setter for format The file format.
    • getStartDate

      public Date getStartDate()
      Getter for startDate The start date filter for report execution. If no date provided, same date of last month will be used as the startDate. Accepts date in short format yyyy-mm-dd as well as date time stamp
    • setStartDate

      public void setStartDate(Date value)
      Setter for startDate The start date filter for report execution. If no date provided, same date of last month will be used as the startDate. Accepts date in short format yyyy-mm-dd as well as date time stamp
    • getEndDate

      public Date getEndDate()
      Getter for endDate The end date filter for report execution. If no date provided, today's date will be used as the endDate. Accepts date in short format yyyy-mm-dd as well as date time stamp
    • setEndDate

      public void setEndDate(Date value)
      Setter for endDate The end date filter for report execution. If no date provided, today's date will be used as the endDate. Accepts date in short format yyyy-mm-dd as well as date time stamp
    • getCountry

      public String getCountry()
      Getter for country The transactions in the country you wish to run a report. Use "ALL" for all countries Use "ALL Non-US" for all international countries Or use a single 2-char ISO country code
    • setCountry

      public void setCountry(String value)
      Setter for country The transactions in the country you wish to run a report. Use "ALL" for all countries Use "ALL Non-US" for all international countries Or use a single 2-char ISO country code
    • getState

      public String getState()
      Getter for state The state associated with the transactions you wish to run a report. Use "ALL" for all states or 2-char state code.
    • setState

      public void setState(String value)
      Setter for state The state associated with the transactions you wish to run a report. Use "ALL" for all states or 2-char state code.
    • getDateFilter

      public ReportDateFilter getDateFilter()
      Getter for dateFilter The type of date to filter your transactions
    • setDateFilter

      public void setDateFilter(ReportDateFilter value)
      Setter for dateFilter The type of date to filter your transactions
    • getDocType

      public ReportDocType getDocType()
      Getter for docType The transaction type you want to run a report on
    • setDocType

      public void setDocType(ReportDocType value)
      Setter for docType The transaction type you want to run a report on
    • getCurrencyCode

      public String getCurrencyCode()
      Getter for currencyCode The currency your report is displayed in. Accepts "USD" or leave this blank to get all the documents with all the currencies
    • setCurrencyCode

      public void setCurrencyCode(String value)
      Setter for currencyCode The currency your report is displayed in. Accepts "USD" or leave this blank to get all the documents with all the currencies
    • getNumberOfPartitions

      public Integer getNumberOfPartitions()
      Getter for numberOfPartitions Number of partitions (2 - 250) to split the report into. If a value is provided for this property, a value must also be provided for the partition property.
    • setNumberOfPartitions

      public void setNumberOfPartitions(Integer value)
      Setter for numberOfPartitions Number of partitions (2 - 250) to split the report into. If a value is provided for this property, a value must also be provided for the partition property.
    • getPartition

      public Integer getPartition()
      Getter for partition The zero-based partition number to retrieve in this export request. If a value is provided for this property, a value must also be provided for the numberOfPartitions property.
    • setPartition

      public void setPartition(Integer value)
      Setter for partition The zero-based partition number to retrieve in this export request. If a value is provided for this property, a value must also be provided for the numberOfPartitions property.
    • getIsLocked

      public Boolean getIsLocked()
      Getter for isLocked If true, include only documents that are locked. If false, include only documents that are not locked. Defaults to false if not specified.
    • setIsLocked

      public void setIsLocked(Boolean value)
      Setter for isLocked If true, include only documents that are locked. If false, include only documents that are not locked. Defaults to false if not specified.
    • getMerchantSellerIdentifier

      public String getMerchantSellerIdentifier()
      Getter for merchantSellerIdentifier If set, include only documents associated with these merchantSellerIds.Multiple merchantSellerIds should be sent by comma separated values.
    • setMerchantSellerIdentifier

      public void setMerchantSellerIdentifier(String value)
      Setter for merchantSellerIdentifier If set, include only documents associated with these merchantSellerIds.Multiple merchantSellerIds should be sent by comma separated values.
    • getDocumentStatus

      public DocumentStatus getDocumentStatus()
      Getter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, Cancelled
    • setDocumentStatus

      public void setDocumentStatus(DocumentStatus value)
      Setter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, Cancelled
    • getIsModifiedDateSameAsDocumentDate

      public Boolean getIsModifiedDateSameAsDocumentDate()
      Getter for isModifiedDateSameAsDocumentDate Use this parameter when dateFilter = ModifiedDate. For dateFilter = DocumentDate, PaymentDate, TaxDate or ReportingDate, the isModifiedDateSameAsDocumentDate parameter is ignored. Set this parameter to true when you would like to get Documents which have the Document Date same as Modified Date. Defaults to false if not specified.
    • setIsModifiedDateSameAsDocumentDate

      public void setIsModifiedDateSameAsDocumentDate(Boolean value)
      Setter for isModifiedDateSameAsDocumentDate Use this parameter when dateFilter = ModifiedDate. For dateFilter = DocumentDate, PaymentDate, TaxDate or ReportingDate, the isModifiedDateSameAsDocumentDate parameter is ignored. Set this parameter to true when you would like to get Documents which have the Document Date same as Modified Date. Defaults to false if not specified.
    • getTaxGroup

      public String getTaxGroup()
      Getter for taxGroup TaxGroup is required to support Sales tax (Sales + SellersUse) and VAT (Input+ Output). TaxTypes, such as Lodging, Bottle, LandedCost, Ewaste, BevAlc, etc
    • setTaxGroup

      public void setTaxGroup(String value)
      Setter for taxGroup TaxGroup is required to support Sales tax (Sales + SellersUse) and VAT (Input+ Output). TaxTypes, such as Lodging, Bottle, LandedCost, Ewaste, BevAlc, etc
    • getTaxName

      public String getTaxName()
      Getter for taxName The description of the tax
    • setTaxName

      public void setTaxName(String value)
      Setter for taxName The description of the tax
    • getTaxCode

      public String getTaxCode()
      Getter for taxCode The AvaTax tax code or customer tax code associated with the item or SKU in the transaction
    • setTaxCode

      public void setTaxCode(String value)
      Setter for taxCode The AvaTax tax code or customer tax code associated with the item or SKU in the transaction
    • getCustomerVendorCode

      public String getCustomerVendorCode()
      Getter for customerVendorCode The code your business application uses to identify a customer or vendor
    • setCustomerVendorCode

      public void setCustomerVendorCode(String value)
      Setter for customerVendorCode The code your business application uses to identify a customer or vendor
    • getTaxSubType

      public String getTaxSubType()
      Getter for taxSubType Defines the individual taxes associated with a TaxType category, such as Lodging TaxType which supports numerous TaxSubTypes, including Hotel, Occupancy, ConventionCenter, Accommotations, etc.
    • setTaxSubType

      public void setTaxSubType(String value)
      Setter for taxSubType Defines the individual taxes associated with a TaxType category, such as Lodging TaxType which supports numerous TaxSubTypes, including Hotel, Occupancy, ConventionCenter, Accommotations, etc.
    • getReportSource

      public ReportSource getReportSource()
      Getter for reportSource Defines report source.
    • setReportSource

      public void setReportSource(ReportSource value)
      Setter for reportSource Defines report source.
    • getCompression

      public Compression getCompression()
      Getter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP
    • setCompression

      public void setCompression(Compression value)
      Setter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP
    • getIncludeDocumentLineDetails

      public Boolean getIncludeDocumentLineDetails()
      Getter for includeDocumentLineDetails If true, include document line details in the generated report. If false, include only document line in the generated report. Defaults to false if not specified.
    • setIncludeDocumentLineDetails

      public void setIncludeDocumentLineDetails(Boolean value)
      Setter for includeDocumentLineDetails If true, include document line details in the generated report. If false, include only document line in the generated report. Defaults to false if not specified.
    • toString

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