Class ExportDocumentLineModel
java.lang.Object
net.avalara.avatax.rest.client.models.ExportDocumentLineModel
An input model for executing a report detailed to the document line level
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIPGetter 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 vendorGetter for dateFilter The type of date to filter your transactionsGetter for docType The transaction type you want to run a report onGetter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, CancelledGetter 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.getState()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 transactionGetter for taxGroup TaxGroup is required to support Sales tax (Sales + SellersUse) and VAT (Input+ Output).Getter for taxName The description of the taxGetter 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.voidsetCompression(Compression value) Setter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIPvoidsetCountry(String value) Setter for country The transactions in the country you wish to run a report.voidsetCurrencyCode(String value) Setter for currencyCode The currency your report is displayed in.voidsetCustomerVendorCode(String value) Setter for customerVendorCode The code your business application uses to identify a customer or vendorvoidsetDateFilter(ReportDateFilter value) Setter for dateFilter The type of date to filter your transactionsvoidsetDocType(ReportDocType value) Setter for docType The transaction type you want to run a report onvoidsetDocumentStatus(DocumentStatus value) Setter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, CancelledvoidsetEndDate(Date value) Setter for endDate The end date filter for report execution.voidsetFormat(ReportFormat value) Setter for format The file format.voidSetter for includeDocumentLineDetails If true, include document line details in the generated report.voidsetIsLocked(Boolean value) Setter for isLocked If true, include only documents that are locked.voidSetter for isModifiedDateSameAsDocumentDate Use this parameter when dateFilter = ModifiedDate.voidSetter for merchantSellerIdentifier If set, include only documents associated with these merchantSellerIds.Multiple merchantSellerIds should be sent by comma separated values.voidsetNumberOfPartitions(Integer value) Setter for numberOfPartitions Number of partitions (2 - 250) to split the report into.voidsetPartition(Integer value) Setter for partition The zero-based partition number to retrieve in this export request.voidsetReportSource(ReportSource value) Setter for reportSource Defines report source.voidsetStartDate(Date value) Setter for startDate The start date filter for report execution.voidSetter for state The state associated with the transactions you wish to run a report.voidsetTaxCode(String value) Setter for taxCode The AvaTax tax code or customer tax code associated with the item or SKU in the transactionvoidsetTaxGroup(String value) Setter for taxGroup TaxGroup is required to support Sales tax (Sales + SellersUse) and VAT (Input+ Output).voidsetTaxName(String value) Setter for taxName The description of the taxvoidsetTaxSubType(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.toString()Returns a JSON string representation of ExportDocumentLineModel
-
Constructor Details
-
ExportDocumentLineModel
public ExportDocumentLineModel()
-
-
Method Details
-
getFormat
Getter for format The file format. -
setFormat
Setter for format The file format. -
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
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
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
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
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
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
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
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
Getter for dateFilter The type of date to filter your transactions -
setDateFilter
Setter for dateFilter The type of date to filter your transactions -
getDocType
Getter for docType The transaction type you want to run a report on -
setDocType
Setter for docType The transaction type you want to run a report on -
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
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
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
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
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
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
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
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
Getter for merchantSellerIdentifier If set, include only documents associated with these merchantSellerIds.Multiple merchantSellerIds should be sent by comma separated values. -
setMerchantSellerIdentifier
Setter for merchantSellerIdentifier If set, include only documents associated with these merchantSellerIds.Multiple merchantSellerIds should be sent by comma separated values. -
getDocumentStatus
Getter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, Cancelled -
setDocumentStatus
Setter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, Cancelled -
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
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
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
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
Getter for taxName The description of the tax -
setTaxName
Setter for taxName The description of the tax -
getTaxCode
Getter for taxCode The AvaTax tax code or customer tax code associated with the item or SKU in the transaction -
setTaxCode
Setter for taxCode The AvaTax tax code or customer tax code associated with the item or SKU in the transaction -
getCustomerVendorCode
Getter for customerVendorCode The code your business application uses to identify a customer or vendor -
setCustomerVendorCode
Setter for customerVendorCode The code your business application uses to identify a customer or vendor -
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
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
Getter for reportSource Defines report source. -
setReportSource
Setter for reportSource Defines report source. -
getCompression
Getter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP -
setCompression
Setter for compression Defines the compression mode of the result file For compression, the accepted values are: NONE, GZIP -
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
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
Returns a JSON string representation of ExportDocumentLineModel
-