Class ExportDocumentLineModel
java.lang.Object
net.avalara.avatax.rest.client.models.ExportDocumentLineModel
public class ExportDocumentLineModel
extends java.lang.Object
An input model for executing a report detailed to the document line level
-
Constructor Summary
Constructors Constructor Description ExportDocumentLineModel() -
Method Summary
Modifier and Type Method Description java.lang.StringgetCountry()Getter for country The transactions in the country you wish to run a report.java.lang.StringgetCurrencyCode()Getter for currencyCode The currency your report is displayed in.ReportDateFiltergetDateFilter()Getter for dateFilter The type of date to filter your transactionsReportDocTypegetDocType()Getter for docType The transaction type you want to run a report onDocumentStatusgetDocumentStatus()Getter for documentStatus DocumentStatus For documentStatus, accepted values are: Saved, Posted, Committed, Cancelledjava.util.DategetEndDate()Getter for endDate The end date filter for report execution.ReportFormatgetFormat()Getter for format The file format.java.lang.BooleangetIsLocked()Getter for isLocked If true, include only documents that are locked.java.lang.BooleangetIsModifiedDateSameAsDocumentDate()Getter for isModifiedDateSameAsDocumentDate Use this parameter when dateFilter = ModifiedDate.java.lang.StringgetMerchantSellerIdentifier()Getter for merchantSellerIdentifier If set, include only documents associated with this merchantSellerId.java.lang.IntegergetNumberOfPartitions()Getter for numberOfPartitions Number of partitions (2 - 250) to split the report into.java.lang.IntegergetPartition()Getter for partition The zero-based partition number to retrieve in this export request.java.util.DategetStartDate()Getter for startDate The start date filter for report execution.java.lang.StringgetState()Getter for state The state associated with the transactions you wish to run a report.voidsetCountry(java.lang.String value)Setter for country The transactions in the country you wish to run a report.voidsetCurrencyCode(java.lang.String value)Setter for currencyCode The currency your report is displayed in.voidsetDateFilter(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(java.util.Date value)Setter for endDate The end date filter for report execution.voidsetFormat(ReportFormat value)Setter for format The file format.voidsetIsLocked(java.lang.Boolean value)Setter for isLocked If true, include only documents that are locked.voidsetIsModifiedDateSameAsDocumentDate(java.lang.Boolean value)Setter for isModifiedDateSameAsDocumentDate Use this parameter when dateFilter = ModifiedDate.voidsetMerchantSellerIdentifier(java.lang.String value)Setter for merchantSellerIdentifier If set, include only documents associated with this merchantSellerId.voidsetNumberOfPartitions(java.lang.Integer value)Setter for numberOfPartitions Number of partitions (2 - 250) to split the report into.voidsetPartition(java.lang.Integer value)Setter for partition The zero-based partition number to retrieve in this export request.voidsetStartDate(java.util.Date value)Setter for startDate The start date filter for report execution.voidsetState(java.lang.String value)Setter for state The state associated with the transactions you wish to run a report.java.lang.StringtoString()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
public java.util.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(java.util.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 java.util.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(java.util.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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
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
public java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String getMerchantSellerIdentifier()Getter for merchantSellerIdentifier If set, include only documents associated with this merchantSellerId. -
setMerchantSellerIdentifier
public void setMerchantSellerIdentifier(java.lang.String value)Setter for merchantSellerIdentifier If set, include only documents associated with this merchantSellerId. -
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
public java.lang.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(java.lang.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. -
toString
public java.lang.String toString()Returns a JSON string representation of ExportDocumentLineModel- Overrides:
toStringin classjava.lang.Object
-