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 |
getBusinessIdentificationNo()
Getter for businessIdentificationNo
VAT business identification number used for this transaction.
|
java.lang.String |
getCertificateId()
Getter for certificateId
The CertCapture Certificate ID
|
java.math.BigDecimal |
getCostInsuranceFreight()
Getter for costInsuranceFreight
Indicates the cost of insurance and freight for this line.
|
java.lang.String |
getCustomerUsageType()
Getter for customerUsageType
DEPRECATED - Date: 10/16/2017, Version: 17.11, Message: Please use entityUseCode instead.
|
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.lang.String |
getEntityUseCode()
Getter for entityUseCode
The entity use code for 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
The customer Tax Id Number (tax_number) associated with a certificate - Sales tax calculation requests first determine if there is an applicable
ECMS entry available, and will utilize it for exemption processing.
|
java.lang.String |
getHsCode()
Getter for hsCode
The cross-border harmonized system code (HSCode) used to calculate tariffs and duties for this line item.
|
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.util.ArrayList<TransactionLineLocationTypeModel> |
getLineLocationTypes()
Getter for lineLocationTypes
Optional: A list of location types for this line item.
|
java.lang.String |
getLineNumber()
Getter for lineNumber
The line number or code indicating the line on this invoice or receipt or document.
|
java.util.ArrayList<TransactionLineDetailModel> |
getNonPassthroughDetails()
Getter for nonPassthroughDetails
Optional: A list of non-passthrough tax details for this line item.
|
java.lang.Long |
getOriginAddressId()
Getter for originAddressId
The unique ID number of the origin address where this line was delivered or sold.
|
java.util.ArrayList<TransactionLineParameterModel> |
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 tax for this line in this transaction.
|
java.math.BigDecimal |
getTaxableAmount()
Getter for taxableAmount
The taxable amount of this line item.
|
java.math.BigDecimal |
getTaxCalculated()
Getter for taxCalculated
The amount of tax that AvaTax calculated for the transaction.
|
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
Indicates whether the `amount` for this line already includes tax.
|
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.
|
TaxOverrideType |
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.
|
java.lang.String |
getVatCode()
Getter for vatCode
Indicates the VAT code for this line item.
|
java.lang.Integer |
getVatNumberTypeId()
Getter for vatNumberTypeId
Indicates the VAT number type for this line item.
|
void |
setBoundaryOverrideId(java.lang.Integer value)
Setter for boundaryOverrideId
The unique ID number of the boundary override applied to this line item.
|
void |
setBusinessIdentificationNo(java.lang.String value)
Setter for businessIdentificationNo
VAT business identification number used for this transaction.
|
void |
setCertificateId(java.lang.String value)
Setter for certificateId
The CertCapture Certificate ID
|
void |
setCostInsuranceFreight(java.math.BigDecimal value)
Setter for costInsuranceFreight
Indicates the cost of insurance and freight for this line.
|
void |
setCustomerUsageType(java.lang.String value)
Setter for customerUsageType
DEPRECATED - Date: 10/16/2017, Version: 17.11, Message: Please use entityUseCode instead.
|
void |
setDescription(java.lang.String value)
Setter for description
A description of the item or service represented by this line.
|
void |
setDestinationAddressId(java.lang.Long value)
Setter for destinationAddressId
The unique ID number of the destination address where this line was delivered or sold.
|
void |
setDetails(java.util.ArrayList<TransactionLineDetailModel> value)
Setter for details
Optional: A list of tax details for this line item.
|
void |
setDiscountAmount(java.math.BigDecimal value)
Setter for discountAmount
The amount of discount that was applied to this line item.
|
void |
setDiscountTypeId(java.lang.Integer value)
Setter for discountTypeId
The type of discount, if any, that was applied to this line item.
|
void |
setEntityUseCode(java.lang.String value)
Setter for entityUseCode
The entity use code for this line item.
|
void |
setExemptAmount(java.math.BigDecimal value)
Setter for exemptAmount
The amount of this line item that was exempt.
|
void |
setExemptCertId(java.lang.Integer value)
Setter for exemptCertId
The unique ID number of the exemption certificate that applied to this line item.
|
void |
setExemptNo(java.lang.String value)
Setter for exemptNo
The customer Tax Id Number (tax_number) associated with a certificate - Sales tax calculation requests first determine if there is an applicable
ECMS entry available, and will utilize it for exemption processing.
|
void |
setHsCode(java.lang.String value)
Setter for hsCode
The cross-border harmonized system code (HSCode) used to calculate tariffs and duties for this line item.
|
void |
setId(java.lang.Long value)
Setter for id
The unique ID number of this transaction line item.
|
void |
setIsItemTaxable(java.lang.Boolean value)
Setter for isItemTaxable
True if this item is taxable.
|
void |
setIsSSTP(java.lang.Boolean value)
Setter for isSSTP
True if this item is a Streamlined Sales Tax line item.
|
void |
setItemCode(java.lang.String value)
Setter for itemCode
The code string of the item represented by this line item.
|
void |
setLineAmount(java.math.BigDecimal value)
Setter for lineAmount
The total amount of the transaction, including both taxable and exempt.
|
void |
setLineLocationTypes(java.util.ArrayList<TransactionLineLocationTypeModel> value)
Setter for lineLocationTypes
Optional: A list of location types for this line item.
|
void |
setLineNumber(java.lang.String value)
Setter for lineNumber
The line number or code indicating the line on this invoice or receipt or document.
|
void |
setNonPassthroughDetails(java.util.ArrayList<TransactionLineDetailModel> value)
Setter for nonPassthroughDetails
Optional: A list of non-passthrough tax details for this line item.
|
void |
setOriginAddressId(java.lang.Long value)
Setter for originAddressId
The unique ID number of the origin address where this line was delivered or sold.
|
void |
setParameters(java.util.ArrayList<TransactionLineParameterModel> value)
Setter for parameters
Contains a list of extra parameters that were set when the transaction was created.
|
void |
setQuantity(java.math.BigDecimal value)
Setter for quantity
The quantity of products sold on this line item.
|
void |
setRef1(java.lang.String value)
Setter for ref1
A user-defined reference identifier for this transaction line item.
|
void |
setRef2(java.lang.String value)
Setter for ref2
A user-defined reference identifier for this transaction line item.
|
void |
setReportingDate(java.util.Date value)
Setter for reportingDate
The date when this transaction should be reported.
|
void |
setRevAccount(java.lang.String value)
Setter for revAccount
The revenue account number for this line item.
|
void |
setSourcing(Sourcing value)
Setter for sourcing
Indicates whether this line item was taxed according to the origin or destination.
|
void |
setTax(java.math.BigDecimal value)
Setter for tax
The tax for this line in this transaction.
|
void |
setTaxableAmount(java.math.BigDecimal value)
Setter for taxableAmount
The taxable amount of this line item.
|
void |
setTaxCalculated(java.math.BigDecimal value)
Setter for taxCalculated
The amount of tax that AvaTax calculated for the transaction.
|
void |
setTaxCode(java.lang.String value)
Setter for taxCode
The code string for the tax code that was used to calculate this line item.
|
void |
setTaxCodeId(java.lang.Integer value)
Setter for taxCodeId
The unique ID number for the tax code that was used to calculate this line item.
|
void |
setTaxDate(java.util.Date value)
Setter for taxDate
The date that was used for calculating tax amounts for this line item.
|
void |
setTaxEngine(java.lang.String value)
Setter for taxEngine
The tax engine identifier that was used to calculate this line item.
|
void |
setTaxIncluded(java.lang.Boolean value)
Setter for taxIncluded
Indicates whether the `amount` for this line already includes tax.
|
void |
setTaxOverrideAmount(java.math.BigDecimal value)
Setter for taxOverrideAmount
If a tax override was specified, this indicates the amount of tax that was requested.
|
void |
setTaxOverrideReason(java.lang.String value)
Setter for taxOverrideReason
If a tax override was specified, represents the reason for the tax override.
|
void |
setTaxOverrideType(TaxOverrideType value)
Setter for taxOverrideType
If a tax override was specified, this indicates the type of tax override.
|
void |
setTransactionId(java.lang.Long value)
Setter for transactionId
The unique ID number of the transaction to which this line item belongs.
|
void |
setVatCode(java.lang.String value)
Setter for vatCode
Indicates the VAT code for this line item.
|
void |
setVatNumberTypeId(java.lang.Integer value)
Setter for vatNumberTypeId
Indicates the VAT number type for this line item.
|
java.lang.String |
toString()
Returns a JSON string representation of TransactionLineModel
|
public java.lang.Long getId()
public void setId(java.lang.Long value)
public java.lang.Long getTransactionId()
public void setTransactionId(java.lang.Long value)
public java.lang.String getLineNumber()
public void setLineNumber(java.lang.String value)
public java.lang.Integer getBoundaryOverrideId()
public void setBoundaryOverrideId(java.lang.Integer value)
public java.lang.String getCustomerUsageType()
public void setCustomerUsageType(java.lang.String value)
public java.lang.String getEntityUseCode()
public void setEntityUseCode(java.lang.String value)
public java.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.Long getDestinationAddressId()
public void setDestinationAddressId(java.lang.Long value)
public java.lang.Long getOriginAddressId()
public void setOriginAddressId(java.lang.Long value)
public java.math.BigDecimal getDiscountAmount()
public void setDiscountAmount(java.math.BigDecimal value)
public java.lang.Integer getDiscountTypeId()
public void setDiscountTypeId(java.lang.Integer value)
public java.math.BigDecimal getExemptAmount()
public void setExemptAmount(java.math.BigDecimal value)
public java.lang.Integer getExemptCertId()
public void setExemptCertId(java.lang.Integer value)
public java.lang.String getCertificateId()
public void setCertificateId(java.lang.String value)
public java.lang.String getExemptNo()
public void setExemptNo(java.lang.String value)
public java.lang.Boolean getIsItemTaxable()
public void setIsItemTaxable(java.lang.Boolean value)
public java.lang.Boolean getIsSSTP()
public void setIsSSTP(java.lang.Boolean value)
public java.lang.String getItemCode()
public void setItemCode(java.lang.String value)
public java.math.BigDecimal getLineAmount()
public void setLineAmount(java.math.BigDecimal value)
public java.math.BigDecimal getQuantity()
public void setQuantity(java.math.BigDecimal value)
public java.lang.String getRef1()
public void setRef1(java.lang.String value)
public java.lang.String getRef2()
public void setRef2(java.lang.String value)
public java.util.Date getReportingDate()
public void setReportingDate(java.util.Date value)
public java.lang.String getRevAccount()
public void setRevAccount(java.lang.String value)
public Sourcing getSourcing()
public void setSourcing(Sourcing value)
public java.math.BigDecimal getTax()
public void setTax(java.math.BigDecimal value)
public java.math.BigDecimal getTaxableAmount()
public void setTaxableAmount(java.math.BigDecimal value)
public java.math.BigDecimal getTaxCalculated()
public void setTaxCalculated(java.math.BigDecimal value)
public java.lang.String getTaxCode()
public void setTaxCode(java.lang.String value)
public java.lang.Integer getTaxCodeId()
public void setTaxCodeId(java.lang.Integer value)
public java.util.Date getTaxDate()
public void setTaxDate(java.util.Date value)
public java.lang.String getTaxEngine()
public void setTaxEngine(java.lang.String value)
public TaxOverrideType getTaxOverrideType()
public void setTaxOverrideType(TaxOverrideType value)
public java.lang.String getBusinessIdentificationNo()
public void setBusinessIdentificationNo(java.lang.String value)
public java.math.BigDecimal getTaxOverrideAmount()
public void setTaxOverrideAmount(java.math.BigDecimal value)
public java.lang.String getTaxOverrideReason()
public void setTaxOverrideReason(java.lang.String value)
public java.lang.Boolean getTaxIncluded()
public void setTaxIncluded(java.lang.Boolean value)
public java.util.ArrayList<TransactionLineDetailModel> getDetails()
public void setDetails(java.util.ArrayList<TransactionLineDetailModel> value)
public java.util.ArrayList<TransactionLineDetailModel> getNonPassthroughDetails()
public void setNonPassthroughDetails(java.util.ArrayList<TransactionLineDetailModel> value)
public java.util.ArrayList<TransactionLineLocationTypeModel> getLineLocationTypes()
public void setLineLocationTypes(java.util.ArrayList<TransactionLineLocationTypeModel> value)
public java.util.ArrayList<TransactionLineParameterModel> getParameters()
public void setParameters(java.util.ArrayList<TransactionLineParameterModel> value)
public java.lang.String getHsCode()
public void setHsCode(java.lang.String value)
public java.math.BigDecimal getCostInsuranceFreight()
public void setCostInsuranceFreight(java.math.BigDecimal value)
public java.lang.String getVatCode()
public void setVatCode(java.lang.String value)
public java.lang.Integer getVatNumberTypeId()
public void setVatNumberTypeId(java.lang.Integer value)
public java.lang.String toString()
toString
in class java.lang.Object