public class LineItemType extends Object
Java class for lineItemType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="lineItemType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="itemId">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="31"/>
</restriction>
</simpleType>
</element>
<element name="name">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="31"/>
</restriction>
</simpleType>
</element>
<element name="description" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="255"/>
</restriction>
</simpleType>
</element>
<element name="quantity">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<minInclusive value="0.00"/>
<fractionDigits value="4"/>
</restriction>
</simpleType>
</element>
<element name="unitPrice">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<minInclusive value="0.00"/>
<fractionDigits value="4"/>
</restriction>
</simpleType>
</element>
<element name="taxable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="unitOfMeasure" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="12"/>
</restriction>
</simpleType>
</element>
<element name="typeOfSupply" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="2"/>
</restriction>
</simpleType>
</element>
<element name="taxRate" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<totalDigits value="5"/>
<fractionDigits value="5"/>
</restriction>
</simpleType>
</element>
<element name="taxAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="nationalTax" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="localTax" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="vatRate" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<totalDigits value="5"/>
<fractionDigits value="5"/>
</restriction>
</simpleType>
</element>
<element name="alternateTaxId" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
<element name="alternateTaxType" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="4"/>
</restriction>
</simpleType>
</element>
<element name="alternateTaxTypeApplied" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="4"/>
</restriction>
</simpleType>
</element>
<element name="alternateTaxRate" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<totalDigits value="5"/>
<fractionDigits value="5"/>
</restriction>
</simpleType>
</element>
<element name="alternateTaxAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="totalAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="commodityCode" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="productCode" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="productSKU" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<maxLength value="30"/>
</restriction>
</simpleType>
</element>
<element name="discountRate" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}decimal">
<totalDigits value="5"/>
<fractionDigits value="5"/>
</restriction>
</simpleType>
</element>
<element name="discountAmount" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
<element name="taxIncludedInTotal" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="taxIsAfterDiscount" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
alternateTaxAmount |
protected String |
alternateTaxId |
protected BigDecimal |
alternateTaxRate |
protected String |
alternateTaxType |
protected String |
alternateTaxTypeApplied |
protected String |
commodityCode |
protected String |
description |
protected BigDecimal |
discountAmount |
protected BigDecimal |
discountRate |
protected String |
itemId |
protected BigDecimal |
localTax |
protected String |
name |
protected BigDecimal |
nationalTax |
protected String |
productCode |
protected String |
productSKU |
protected BigDecimal |
quantity |
protected Boolean |
taxable |
protected BigDecimal |
taxAmount |
protected Boolean |
taxIncludedInTotal |
protected Boolean |
taxIsAfterDiscount |
protected BigDecimal |
taxRate |
protected BigDecimal |
totalAmount |
protected String |
typeOfSupply |
protected String |
unitOfMeasure |
protected BigDecimal |
unitPrice |
protected BigDecimal |
vatRate |
| Constructor and Description |
|---|
LineItemType() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAlternateTaxAmount()
Gets the value of the alternateTaxAmount property.
|
String |
getAlternateTaxId()
Gets the value of the alternateTaxId property.
|
BigDecimal |
getAlternateTaxRate()
Gets the value of the alternateTaxRate property.
|
String |
getAlternateTaxType()
Gets the value of the alternateTaxType property.
|
String |
getAlternateTaxTypeApplied()
Gets the value of the alternateTaxTypeApplied property.
|
String |
getCommodityCode()
Gets the value of the commodityCode property.
|
String |
getDescription()
Gets the value of the description property.
|
BigDecimal |
getDiscountAmount()
Gets the value of the discountAmount property.
|
BigDecimal |
getDiscountRate()
Gets the value of the discountRate property.
|
String |
getItemId()
Gets the value of the itemId property.
|
BigDecimal |
getLocalTax()
Gets the value of the localTax property.
|
String |
getName()
Gets the value of the name property.
|
BigDecimal |
getNationalTax()
Gets the value of the nationalTax property.
|
String |
getProductCode()
Gets the value of the productCode property.
|
String |
getProductSKU()
Gets the value of the productSKU property.
|
BigDecimal |
getQuantity()
Gets the value of the quantity property.
|
BigDecimal |
getTaxAmount()
Gets the value of the taxAmount property.
|
BigDecimal |
getTaxRate()
Gets the value of the taxRate property.
|
BigDecimal |
getTotalAmount()
Gets the value of the totalAmount property.
|
String |
getTypeOfSupply()
Gets the value of the typeOfSupply property.
|
String |
getUnitOfMeasure()
Gets the value of the unitOfMeasure property.
|
BigDecimal |
getUnitPrice()
Gets the value of the unitPrice property.
|
BigDecimal |
getVatRate()
Gets the value of the vatRate property.
|
Boolean |
isTaxable()
Gets the value of the taxable property.
|
Boolean |
isTaxIncludedInTotal()
Gets the value of the taxIncludedInTotal property.
|
Boolean |
isTaxIsAfterDiscount()
Gets the value of the taxIsAfterDiscount property.
|
void |
setAlternateTaxAmount(BigDecimal value)
Sets the value of the alternateTaxAmount property.
|
void |
setAlternateTaxId(String value)
Sets the value of the alternateTaxId property.
|
void |
setAlternateTaxRate(BigDecimal value)
Sets the value of the alternateTaxRate property.
|
void |
setAlternateTaxType(String value)
Sets the value of the alternateTaxType property.
|
void |
setAlternateTaxTypeApplied(String value)
Sets the value of the alternateTaxTypeApplied property.
|
void |
setCommodityCode(String value)
Sets the value of the commodityCode property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDiscountAmount(BigDecimal value)
Sets the value of the discountAmount property.
|
void |
setDiscountRate(BigDecimal value)
Sets the value of the discountRate property.
|
void |
setItemId(String value)
Sets the value of the itemId property.
|
void |
setLocalTax(BigDecimal value)
Sets the value of the localTax property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNationalTax(BigDecimal value)
Sets the value of the nationalTax property.
|
void |
setProductCode(String value)
Sets the value of the productCode property.
|
void |
setProductSKU(String value)
Sets the value of the productSKU property.
|
void |
setQuantity(BigDecimal value)
Sets the value of the quantity property.
|
void |
setTaxable(Boolean value)
Sets the value of the taxable property.
|
void |
setTaxAmount(BigDecimal value)
Sets the value of the taxAmount property.
|
void |
setTaxIncludedInTotal(Boolean value)
Sets the value of the taxIncludedInTotal property.
|
void |
setTaxIsAfterDiscount(Boolean value)
Sets the value of the taxIsAfterDiscount property.
|
void |
setTaxRate(BigDecimal value)
Sets the value of the taxRate property.
|
void |
setTotalAmount(BigDecimal value)
Sets the value of the totalAmount property.
|
void |
setTypeOfSupply(String value)
Sets the value of the typeOfSupply property.
|
void |
setUnitOfMeasure(String value)
Sets the value of the unitOfMeasure property.
|
void |
setUnitPrice(BigDecimal value)
Sets the value of the unitPrice property.
|
void |
setVatRate(BigDecimal value)
Sets the value of the vatRate property.
|
protected String itemId
protected String name
protected String description
protected BigDecimal quantity
protected BigDecimal unitPrice
protected Boolean taxable
protected String unitOfMeasure
protected String typeOfSupply
protected BigDecimal taxRate
protected BigDecimal taxAmount
protected BigDecimal nationalTax
protected BigDecimal localTax
protected BigDecimal vatRate
protected String alternateTaxId
protected String alternateTaxType
protected String alternateTaxTypeApplied
protected BigDecimal alternateTaxRate
protected BigDecimal alternateTaxAmount
protected BigDecimal totalAmount
protected String commodityCode
protected String productCode
protected String productSKU
protected BigDecimal discountRate
protected BigDecimal discountAmount
protected Boolean taxIncludedInTotal
protected Boolean taxIsAfterDiscount
public String getItemId()
Stringpublic void setItemId(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic BigDecimal getQuantity()
BigDecimalpublic void setQuantity(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getUnitPrice()
BigDecimalpublic void setUnitPrice(BigDecimal value)
value - allowed object is
BigDecimalpublic Boolean isTaxable()
Booleanpublic void setTaxable(Boolean value)
value - allowed object is
Booleanpublic String getUnitOfMeasure()
Stringpublic void setUnitOfMeasure(String value)
value - allowed object is
Stringpublic String getTypeOfSupply()
Stringpublic void setTypeOfSupply(String value)
value - allowed object is
Stringpublic BigDecimal getTaxRate()
BigDecimalpublic void setTaxRate(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getTaxAmount()
BigDecimalpublic void setTaxAmount(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getNationalTax()
BigDecimalpublic void setNationalTax(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getLocalTax()
BigDecimalpublic void setLocalTax(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getVatRate()
BigDecimalpublic void setVatRate(BigDecimal value)
value - allowed object is
BigDecimalpublic String getAlternateTaxId()
Stringpublic void setAlternateTaxId(String value)
value - allowed object is
Stringpublic String getAlternateTaxType()
Stringpublic void setAlternateTaxType(String value)
value - allowed object is
Stringpublic String getAlternateTaxTypeApplied()
Stringpublic void setAlternateTaxTypeApplied(String value)
value - allowed object is
Stringpublic BigDecimal getAlternateTaxRate()
BigDecimalpublic void setAlternateTaxRate(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getAlternateTaxAmount()
BigDecimalpublic void setAlternateTaxAmount(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getTotalAmount()
BigDecimalpublic void setTotalAmount(BigDecimal value)
value - allowed object is
BigDecimalpublic String getCommodityCode()
Stringpublic void setCommodityCode(String value)
value - allowed object is
Stringpublic String getProductCode()
Stringpublic void setProductCode(String value)
value - allowed object is
Stringpublic String getProductSKU()
Stringpublic void setProductSKU(String value)
value - allowed object is
Stringpublic BigDecimal getDiscountRate()
BigDecimalpublic void setDiscountRate(BigDecimal value)
value - allowed object is
BigDecimalpublic BigDecimal getDiscountAmount()
BigDecimalpublic void setDiscountAmount(BigDecimal value)
value - allowed object is
BigDecimalpublic Boolean isTaxIncludedInTotal()
Booleanpublic void setTaxIncludedInTotal(Boolean value)
value - allowed object is
Booleanpublic Boolean isTaxIsAfterDiscount()
BooleanCopyright © 2020. All rights reserved.