public class MultiDocumentLineItemModel
extends java.lang.Object
Constructor and Description |
---|
MultiDocumentLineItemModel() |
Modifier and Type | Method and Description |
---|---|
AddressesModel |
getAddresses()
Getter for addresses
The addresses to use for this transaction line.
|
java.math.BigDecimal |
getAmount()
Getter for amount
Total amount for this line.
|
java.lang.String |
getBusinessIdentificationNo()
Getter for businessIdentificationNo
VAT business identification number for the customer for this line item.
|
java.lang.String |
getCompanyCode()
Getter for companyCode
Specify the code of the company for this line of transaction.
|
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
Item description.
|
java.lang.Boolean |
getDiscounted()
Getter for discounted
True if the document discount should be applied to this line.
|
java.lang.String |
getEntityUseCode()
Getter for entityUseCode
Entity Use Code - The client application customer or usage type.
|
java.lang.String |
getExemptionCode()
Getter for exemptionCode
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 Item code for Custom Duty / Global Import tax determination
Harmonized Tariff System code for this transaction.
|
java.lang.String |
getItemCode()
Getter for itemCode
Item Code (SKU).
|
java.lang.String |
getNumber()
Getter for number
The line number of this line within the document.
|
java.util.ArrayList<TransactionLineParameterModel> |
getParameters()
Getter for parameters
Special parameters that apply to this line within this transaction.
|
java.math.BigDecimal |
getQuantity()
Getter for quantity
Quantity of items in this line.
|
java.lang.String |
getRef1()
Getter for ref1
Ref1 (Customer Defined Field)
This field is available for you to use to provide whatever information your implementation requires.
|
java.lang.String |
getRef2()
Getter for ref2
Ref2 (Customer Defined Field)
This field is available for you to use to provide whatever information your implementation requires.
|
java.lang.String |
getReportingLocationCode()
Getter for reportingLocationCode
Sets the sale location code (Outlet ID) for reporting this document to the tax authority.
|
java.lang.String |
getRevenueAccount()
Getter for revenueAccount
Revenue Account (Customer Defined Field).
|
java.lang.String |
getTaxCode()
Getter for taxCode
Tax Code - System or Custom Tax Code.
|
java.lang.Boolean |
getTaxIncluded()
Getter for taxIncluded
Indicates whether the `amount` for this line already includes tax.
|
TaxOverrideModel |
getTaxOverride()
Getter for taxOverride
Specifies a tax override for this line.
|
void |
setAddresses(AddressesModel value)
Setter for addresses
The addresses to use for this transaction line.
|
void |
setAmount(java.math.BigDecimal value)
Setter for amount
Total amount for this line.
|
void |
setBusinessIdentificationNo(java.lang.String value)
Setter for businessIdentificationNo
VAT business identification number for the customer for this line item.
|
void |
setCompanyCode(java.lang.String value)
Setter for companyCode
Specify the code of the company for this line of transaction.
|
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
Item description.
|
void |
setDiscounted(java.lang.Boolean value)
Setter for discounted
True if the document discount should be applied to this line.
|
void |
setEntityUseCode(java.lang.String value)
Setter for entityUseCode
Entity Use Code - The client application customer or usage type.
|
void |
setExemptionCode(java.lang.String value)
Setter for exemptionCode
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 Item code for Custom Duty / Global Import tax determination
Harmonized Tariff System code for this transaction.
|
void |
setItemCode(java.lang.String value)
Setter for itemCode
Item Code (SKU).
|
void |
setNumber(java.lang.String value)
Setter for number
The line number of this line within the document.
|
void |
setParameters(java.util.ArrayList<TransactionLineParameterModel> value)
Setter for parameters
Special parameters that apply to this line within this transaction.
|
void |
setQuantity(java.math.BigDecimal value)
Setter for quantity
Quantity of items in this line.
|
void |
setRef1(java.lang.String value)
Setter for ref1
Ref1 (Customer Defined Field)
This field is available for you to use to provide whatever information your implementation requires.
|
void |
setRef2(java.lang.String value)
Setter for ref2
Ref2 (Customer Defined Field)
This field is available for you to use to provide whatever information your implementation requires.
|
void |
setReportingLocationCode(java.lang.String value)
Setter for reportingLocationCode
Sets the sale location code (Outlet ID) for reporting this document to the tax authority.
|
void |
setRevenueAccount(java.lang.String value)
Setter for revenueAccount
Revenue Account (Customer Defined Field).
|
void |
setTaxCode(java.lang.String value)
Setter for taxCode
Tax Code - System or Custom Tax Code.
|
void |
setTaxIncluded(java.lang.Boolean value)
Setter for taxIncluded
Indicates whether the `amount` for this line already includes tax.
|
void |
setTaxOverride(TaxOverrideModel value)
Setter for taxOverride
Specifies a tax override for this line.
|
java.lang.String |
toString()
Returns a JSON string representation of MultiDocumentLineItemModel
|
public java.lang.String getCompanyCode()
public void setCompanyCode(java.lang.String value)
public java.lang.String getReportingLocationCode()
public void setReportingLocationCode(java.lang.String value)
public java.lang.String getNumber()
public void setNumber(java.lang.String value)
public java.math.BigDecimal getQuantity()
public void setQuantity(java.math.BigDecimal value)
public java.math.BigDecimal getAmount()
public void setAmount(java.math.BigDecimal value)
public AddressesModel getAddresses()
public void setAddresses(AddressesModel value)
public java.lang.String getTaxCode()
public void setTaxCode(java.lang.String 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 getItemCode()
public void setItemCode(java.lang.String value)
public java.lang.String getExemptionCode()
public void setExemptionCode(java.lang.String value)
public java.lang.Boolean getDiscounted()
public void setDiscounted(java.lang.Boolean value)
public java.lang.Boolean getTaxIncluded()
public void setTaxIncluded(java.lang.Boolean value)
public java.lang.String getRevenueAccount()
public void setRevenueAccount(java.lang.String 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.lang.String getDescription()
public void setDescription(java.lang.String value)
public java.lang.String getBusinessIdentificationNo()
public void setBusinessIdentificationNo(java.lang.String value)
public TaxOverrideModel getTaxOverride()
public void setTaxOverride(TaxOverrideModel 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.lang.String toString()
toString
in class java.lang.Object