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: use "ALL" for all countries use "ALL Non-US" for all international countries or use a single 2-char ISO country codejava.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 onjava.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.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 on: use "ALL" for all states.voidsetCountry(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 codevoidsetCurrencyCode(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 onvoidsetEndDate(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.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 on: use "ALL" for all states.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. -
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. -
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. -
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. -
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 on: use "ALL" for all states. -
setState
public void setState(java.lang.String value)Setter for state The state associated with the transactions you wish to run a report on: use "ALL" for all states. -
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. Example: "USD" -
setCurrencyCode
public void setCurrencyCode(java.lang.String value)Setter for currencyCode The currency your report is displayed in. Example: "USD" -
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. -
toString
public java.lang.String toString()Returns a JSON string representation of ExportDocumentLineModel- Overrides:
toStringin classjava.lang.Object
-