public class TransactionLineModel
extends java.lang.Object
Constructor and Description |
---|
TransactionLineModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getBoundaryOverrideId()
Getter for boundaryOverrideId - The unique ID number of the boundary override applied to this line item.
|
java.lang.String |
getCustomerUsageType()
Getter for customerUsageType - The customer usage type for this line item.
|
java.lang.String |
getDescription()
Getter for description - A description of the item or service represented by this line.
|
java.lang.Long |
getDestinationAddressId()
Getter for destinationAddressId - The unique ID number of the destination address where this line was delivered or sold.
|
java.util.ArrayList<TransactionLineDetailModel> |
getDetails()
Getter for details - Optional: A list of tax details for this line item.
|
java.math.BigDecimal |
getDiscountAmount()
Getter for discountAmount - The amount of discount that was applied to this line item.
|
java.lang.Integer |
getDiscountTypeId()
Getter for discountTypeId - The type of discount, if any, that was applied to this line item.
|
java.math.BigDecimal |
getExemptAmount()
Getter for exemptAmount - The amount of this line item that was exempt.
|
java.lang.Integer |
getExemptCertId()
Getter for exemptCertId - The unique ID number of the exemption certificate that applied to this line item.
|
java.lang.String |
getExemptNo()
Getter for exemptNo - If this line item was exempt, this string contains the word 'Exempt'.
|
java.lang.Long |
getId()
Getter for id - The unique ID number of this transaction line item.
|
java.lang.Boolean |
getIsItemTaxable()
Getter for isItemTaxable - True if this item is taxable.
|
java.lang.Boolean |
getIsSSTP()
Getter for isSSTP - True if this item is a Streamlined Sales Tax line item.
|
java.lang.String |
getItemCode()
Getter for itemCode - The code string of the item represented by this line item.
|
java.math.BigDecimal |
getLineAmount()
Getter for lineAmount - The total amount of the transaction, including both taxable and exempt.
|
java.lang.String |
getLineNumber()
Getter for lineNumber - The line number or code indicating the line on this invoice or receipt or document.
|
java.lang.Long |
getOriginAddressId()
Getter for originAddressId - The unique ID number of the origin address where this line was delivered or sold.
|
java.util.HashMap<java.lang.String,java.lang.String> |
getParameters()
Getter for parameters - Contains a list of extra parameters that were set when the transaction was created.
|
java.math.BigDecimal |
getQuantity()
Getter for quantity - The quantity of products sold on this line item.
|
java.lang.String |
getRef1()
Getter for ref1 - A user-defined reference identifier for this transaction line item.
|
java.lang.String |
getRef2()
Getter for ref2 - A user-defined reference identifier for this transaction line item.
|
java.util.Date |
getReportingDate()
Getter for reportingDate - The date when this transaction should be reported.
|
java.lang.String |
getRevAccount()
Getter for revAccount - The revenue account number for this line item.
|
Sourcing |
getSourcing()
Getter for sourcing - Indicates whether this line item was taxed according to the origin or destination.
|
java.math.BigDecimal |
getTax()
Getter for tax - The amount of tax generated for this line item.
|
java.math.BigDecimal |
getTaxableAmount()
Getter for taxableAmount - The taxable amount of this line item.
|
java.math.BigDecimal |
getTaxCalculated()
Getter for taxCalculated - The tax calculated for this line by Avalara.
|
java.lang.String |
getTaxCode()
Getter for taxCode - The code string for the tax code that was used to calculate this line item.
|
java.lang.Integer |
getTaxCodeId()
Getter for taxCodeId - The unique ID number for the tax code that was used to calculate this line item.
|
java.util.Date |
getTaxDate()
Getter for taxDate - The date that was used for calculating tax amounts for this line item.
|
java.lang.String |
getTaxEngine()
Getter for taxEngine - The tax engine identifier that was used to calculate this line item.
|
java.lang.Boolean |
getTaxIncluded()
Getter for taxIncluded - True if tax was included in the purchase price of the item.
|
java.math.BigDecimal |
getTaxOverrideAmount()
Getter for taxOverrideAmount - If a tax override was specified, this indicates the amount of tax that was requested.
|
java.lang.String |
getTaxOverrideReason()
Getter for taxOverrideReason - If a tax override was specified, represents the reason for the tax override.
|
TaxOverrideTypeId |
getTaxOverrideType()
Getter for taxOverrideType - If a tax override was specified, this indicates the type of tax override.
|
java.lang.Long |
getTransactionId()
Getter for transactionId - The unique ID number of the transaction to which this line item belongs.
|
void |
setBoundaryOverrideId(java.lang.Integer boundaryOverrideId)
Setter for boundaryOverrideId - The unique ID number of the boundary override applied to this line item.
|
void |
setCustomerUsageType(java.lang.String customerUsageType)
Setter for customerUsageType - The customer usage type for this line item.
|
void |
setDescription(java.lang.String description)
Setter for description - A description of the item or service represented by this line.
|
void |
setDestinationAddressId(java.lang.Long destinationAddressId)
Setter for destinationAddressId - The unique ID number of the destination address where this line was delivered or sold.
|
void |
setDetails(java.util.ArrayList<TransactionLineDetailModel> details)
Setter for details - Optional: A list of tax details for this line item.
|
void |
setDiscountAmount(java.math.BigDecimal discountAmount)
Setter for discountAmount - The amount of discount that was applied to this line item.
|
void |
setDiscountTypeId(java.lang.Integer discountTypeId)
Setter for discountTypeId - The type of discount, if any, that was applied to this line item.
|
void |
setExemptAmount(java.math.BigDecimal exemptAmount)
Setter for exemptAmount - The amount of this line item that was exempt.
|
void |
setExemptCertId(java.lang.Integer exemptCertId)
Setter for exemptCertId - The unique ID number of the exemption certificate that applied to this line item.
|
void |
setExemptNo(java.lang.String exemptNo)
Setter for exemptNo - If this line item was exempt, this string contains the word 'Exempt'.
|
void |
setId(java.lang.Long id)
Setter for id - The unique ID number of this transaction line item.
|
void |
setIsItemTaxable(java.lang.Boolean isItemTaxable)
Setter for isItemTaxable - True if this item is taxable.
|
void |
setIsSSTP(java.lang.Boolean isSSTP)
Setter for isSSTP - True if this item is a Streamlined Sales Tax line item.
|
void |
setItemCode(java.lang.String itemCode)
Setter for itemCode - The code string of the item represented by this line item.
|
void |
setLineAmount(java.math.BigDecimal lineAmount)
Setter for lineAmount - The total amount of the transaction, including both taxable and exempt.
|
void |
setLineNumber(java.lang.String lineNumber)
Setter for lineNumber - The line number or code indicating the line on this invoice or receipt or document.
|
void |
setOriginAddressId(java.lang.Long originAddressId)
Setter for originAddressId - The unique ID number of the origin address where this line was delivered or sold.
|
void |
setParameters(java.util.HashMap<java.lang.String,java.lang.String> parameters)
Setter for parameters - Contains a list of extra parameters that were set when the transaction was created.
|
void |
setQuantity(java.math.BigDecimal quantity)
Setter for quantity - The quantity of products sold on this line item.
|
void |
setRef1(java.lang.String ref1)
Setter for ref1 - A user-defined reference identifier for this transaction line item.
|
void |
setRef2(java.lang.String ref2)
Setter for ref2 - A user-defined reference identifier for this transaction line item.
|
void |
setReportingDate(java.util.Date reportingDate)
Setter for reportingDate - The date when this transaction should be reported.
|
void |
setRevAccount(java.lang.String revAccount)
Setter for revAccount - The revenue account number for this line item.
|
void |
setSourcing(Sourcing sourcing)
Setter for sourcing - Indicates whether this line item was taxed according to the origin or destination.
|
void |
setTax(java.math.BigDecimal tax)
Setter for tax - The amount of tax generated for this line item.
|
void |
setTaxableAmount(java.math.BigDecimal taxableAmount)
Setter for taxableAmount - The taxable amount of this line item.
|
void |
setTaxCalculated(java.math.BigDecimal taxCalculated)
Setter for taxCalculated - The tax calculated for this line by Avalara.
|
void |
setTaxCode(java.lang.String taxCode)
Setter for taxCode - The code string for the tax code that was used to calculate this line item.
|
void |
setTaxCodeId(java.lang.Integer taxCodeId)
Setter for taxCodeId - The unique ID number for the tax code that was used to calculate this line item.
|
void |
setTaxDate(java.util.Date taxDate)
Setter for taxDate - The date that was used for calculating tax amounts for this line item.
|
void |
setTaxEngine(java.lang.String taxEngine)
Setter for taxEngine - The tax engine identifier that was used to calculate this line item.
|
void |
setTaxIncluded(java.lang.Boolean taxIncluded)
Setter for taxIncluded - True if tax was included in the purchase price of the item.
|
void |
setTaxOverrideAmount(java.math.BigDecimal taxOverrideAmount)
Setter for taxOverrideAmount - If a tax override was specified, this indicates the amount of tax that was requested.
|
void |
setTaxOverrideReason(java.lang.String taxOverrideReason)
Setter for taxOverrideReason - If a tax override was specified, represents the reason for the tax override.
|
void |
setTaxOverrideType(TaxOverrideTypeId taxOverrideType)
Setter for taxOverrideType - If a tax override was specified, this indicates the type of tax override.
|
void |
setTransactionId(java.lang.Long transactionId)
Setter for transactionId - The unique ID number of the transaction to which this line item belongs.
|
java.lang.String |
toString()
Returns a JSON string representation of TransactionLineModel.
|
public java.math.BigDecimal getExemptAmount()
public void setExemptAmount(java.math.BigDecimal exemptAmount)
public java.lang.String getTaxCode()
public void setTaxCode(java.lang.String taxCode)
public java.math.BigDecimal getQuantity()
public void setQuantity(java.math.BigDecimal quantity)
public java.lang.String getTaxEngine()
public void setTaxEngine(java.lang.String taxEngine)
public java.lang.String getCustomerUsageType()
public void setCustomerUsageType(java.lang.String customerUsageType)
public java.lang.Boolean getIsItemTaxable()
public void setIsItemTaxable(java.lang.Boolean isItemTaxable)
public TaxOverrideTypeId getTaxOverrideType()
public void setTaxOverrideType(TaxOverrideTypeId taxOverrideType)
public java.math.BigDecimal getTax()
public void setTax(java.math.BigDecimal tax)
public java.lang.Long getOriginAddressId()
public void setOriginAddressId(java.lang.Long originAddressId)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public java.lang.Integer getDiscountTypeId()
public void setDiscountTypeId(java.lang.Integer discountTypeId)
public java.lang.String getExemptNo()
public void setExemptNo(java.lang.String exemptNo)
public java.lang.Integer getBoundaryOverrideId()
public void setBoundaryOverrideId(java.lang.Integer boundaryOverrideId)
public java.lang.String getRef1()
public void setRef1(java.lang.String ref1)
public java.util.Date getReportingDate()
public void setReportingDate(java.util.Date reportingDate)
public Sourcing getSourcing()
public void setSourcing(Sourcing sourcing)
public java.lang.Integer getExemptCertId()
public void setExemptCertId(java.lang.Integer exemptCertId)
public java.lang.Integer getTaxCodeId()
public void setTaxCodeId(java.lang.Integer taxCodeId)
public java.lang.String getRef2()
public void setRef2(java.lang.String ref2)
public java.lang.String getLineNumber()
public void setLineNumber(java.lang.String lineNumber)
public java.lang.String getRevAccount()
public void setRevAccount(java.lang.String revAccount)
public java.lang.Long getId()
public void setId(java.lang.Long id)
public java.math.BigDecimal getTaxCalculated()
public void setTaxCalculated(java.math.BigDecimal taxCalculated)
public java.math.BigDecimal getLineAmount()
public void setLineAmount(java.math.BigDecimal lineAmount)
public java.lang.Long getDestinationAddressId()
public void setDestinationAddressId(java.lang.Long destinationAddressId)
public java.lang.Boolean getIsSSTP()
public void setIsSSTP(java.lang.Boolean isSSTP)
public java.lang.String getTaxOverrideReason()
public void setTaxOverrideReason(java.lang.String taxOverrideReason)
public java.lang.String getItemCode()
public void setItemCode(java.lang.String itemCode)
public java.util.ArrayList<TransactionLineDetailModel> getDetails()
public void setDetails(java.util.ArrayList<TransactionLineDetailModel> details)
public java.math.BigDecimal getTaxOverrideAmount()
public void setTaxOverrideAmount(java.math.BigDecimal taxOverrideAmount)
public java.math.BigDecimal getTaxableAmount()
public void setTaxableAmount(java.math.BigDecimal taxableAmount)
public java.lang.Boolean getTaxIncluded()
public void setTaxIncluded(java.lang.Boolean taxIncluded)
public java.util.HashMap<java.lang.String,java.lang.String> getParameters()
public void setParameters(java.util.HashMap<java.lang.String,java.lang.String> parameters)
public java.util.Date getTaxDate()
public void setTaxDate(java.util.Date taxDate)
public java.lang.Long getTransactionId()
public void setTransactionId(java.lang.Long transactionId)
public java.math.BigDecimal getDiscountAmount()
public void setDiscountAmount(java.math.BigDecimal discountAmount)
public java.lang.String toString()
toString
in class java.lang.Object