public class LineItemType
extends java.lang.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 java.math.BigDecimal |
alternateTaxAmount |
protected java.lang.String |
alternateTaxId |
protected java.math.BigDecimal |
alternateTaxRate |
protected java.lang.String |
alternateTaxType |
protected java.lang.String |
alternateTaxTypeApplied |
protected java.lang.String |
commodityCode |
protected java.lang.String |
description |
protected java.math.BigDecimal |
discountAmount |
protected java.math.BigDecimal |
discountRate |
protected java.lang.String |
itemId |
protected java.math.BigDecimal |
localTax |
protected java.lang.String |
name |
protected java.math.BigDecimal |
nationalTax |
protected java.lang.String |
productCode |
protected java.lang.String |
productSKU |
protected java.math.BigDecimal |
quantity |
protected java.lang.Boolean |
taxable |
protected java.math.BigDecimal |
taxAmount |
protected java.lang.Boolean |
taxIncludedInTotal |
protected java.lang.Boolean |
taxIsAfterDiscount |
protected java.math.BigDecimal |
taxRate |
protected java.math.BigDecimal |
totalAmount |
protected java.lang.String |
typeOfSupply |
protected java.lang.String |
unitOfMeasure |
protected java.math.BigDecimal |
unitPrice |
protected java.math.BigDecimal |
vatRate |
| Constructor and Description |
|---|
LineItemType() |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigDecimal |
getAlternateTaxAmount()
Gets the value of the alternateTaxAmount property.
|
java.lang.String |
getAlternateTaxId()
Gets the value of the alternateTaxId property.
|
java.math.BigDecimal |
getAlternateTaxRate()
Gets the value of the alternateTaxRate property.
|
java.lang.String |
getAlternateTaxType()
Gets the value of the alternateTaxType property.
|
java.lang.String |
getAlternateTaxTypeApplied()
Gets the value of the alternateTaxTypeApplied property.
|
java.lang.String |
getCommodityCode()
Gets the value of the commodityCode property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.math.BigDecimal |
getDiscountAmount()
Gets the value of the discountAmount property.
|
java.math.BigDecimal |
getDiscountRate()
Gets the value of the discountRate property.
|
java.lang.String |
getItemId()
Gets the value of the itemId property.
|
java.math.BigDecimal |
getLocalTax()
Gets the value of the localTax property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.math.BigDecimal |
getNationalTax()
Gets the value of the nationalTax property.
|
java.lang.String |
getProductCode()
Gets the value of the productCode property.
|
java.lang.String |
getProductSKU()
Gets the value of the productSKU property.
|
java.math.BigDecimal |
getQuantity()
Gets the value of the quantity property.
|
java.math.BigDecimal |
getTaxAmount()
Gets the value of the taxAmount property.
|
java.math.BigDecimal |
getTaxRate()
Gets the value of the taxRate property.
|
java.math.BigDecimal |
getTotalAmount()
Gets the value of the totalAmount property.
|
java.lang.String |
getTypeOfSupply()
Gets the value of the typeOfSupply property.
|
java.lang.String |
getUnitOfMeasure()
Gets the value of the unitOfMeasure property.
|
java.math.BigDecimal |
getUnitPrice()
Gets the value of the unitPrice property.
|
java.math.BigDecimal |
getVatRate()
Gets the value of the vatRate property.
|
java.lang.Boolean |
isTaxable()
Gets the value of the taxable property.
|
java.lang.Boolean |
isTaxIncludedInTotal()
Gets the value of the taxIncludedInTotal property.
|
java.lang.Boolean |
isTaxIsAfterDiscount()
Gets the value of the taxIsAfterDiscount property.
|
void |
setAlternateTaxAmount(java.math.BigDecimal value)
Sets the value of the alternateTaxAmount property.
|
void |
setAlternateTaxId(java.lang.String value)
Sets the value of the alternateTaxId property.
|
void |
setAlternateTaxRate(java.math.BigDecimal value)
Sets the value of the alternateTaxRate property.
|
void |
setAlternateTaxType(java.lang.String value)
Sets the value of the alternateTaxType property.
|
void |
setAlternateTaxTypeApplied(java.lang.String value)
Sets the value of the alternateTaxTypeApplied property.
|
void |
setCommodityCode(java.lang.String value)
Sets the value of the commodityCode property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setDiscountAmount(java.math.BigDecimal value)
Sets the value of the discountAmount property.
|
void |
setDiscountRate(java.math.BigDecimal value)
Sets the value of the discountRate property.
|
void |
setItemId(java.lang.String value)
Sets the value of the itemId property.
|
void |
setLocalTax(java.math.BigDecimal value)
Sets the value of the localTax property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setNationalTax(java.math.BigDecimal value)
Sets the value of the nationalTax property.
|
void |
setProductCode(java.lang.String value)
Sets the value of the productCode property.
|
void |
setProductSKU(java.lang.String value)
Sets the value of the productSKU property.
|
void |
setQuantity(java.math.BigDecimal value)
Sets the value of the quantity property.
|
void |
setTaxable(java.lang.Boolean value)
Sets the value of the taxable property.
|
void |
setTaxAmount(java.math.BigDecimal value)
Sets the value of the taxAmount property.
|
void |
setTaxIncludedInTotal(java.lang.Boolean value)
Sets the value of the taxIncludedInTotal property.
|
void |
setTaxIsAfterDiscount(java.lang.Boolean value)
Sets the value of the taxIsAfterDiscount property.
|
void |
setTaxRate(java.math.BigDecimal value)
Sets the value of the taxRate property.
|
void |
setTotalAmount(java.math.BigDecimal value)
Sets the value of the totalAmount property.
|
void |
setTypeOfSupply(java.lang.String value)
Sets the value of the typeOfSupply property.
|
void |
setUnitOfMeasure(java.lang.String value)
Sets the value of the unitOfMeasure property.
|
void |
setUnitPrice(java.math.BigDecimal value)
Sets the value of the unitPrice property.
|
void |
setVatRate(java.math.BigDecimal value)
Sets the value of the vatRate property.
|
protected java.lang.String itemId
protected java.lang.String name
protected java.lang.String description
protected java.math.BigDecimal quantity
protected java.math.BigDecimal unitPrice
protected java.lang.Boolean taxable
protected java.lang.String unitOfMeasure
protected java.lang.String typeOfSupply
protected java.math.BigDecimal taxRate
protected java.math.BigDecimal taxAmount
protected java.math.BigDecimal nationalTax
protected java.math.BigDecimal localTax
protected java.math.BigDecimal vatRate
protected java.lang.String alternateTaxId
protected java.lang.String alternateTaxType
protected java.lang.String alternateTaxTypeApplied
protected java.math.BigDecimal alternateTaxRate
protected java.math.BigDecimal alternateTaxAmount
protected java.math.BigDecimal totalAmount
protected java.lang.String commodityCode
protected java.lang.String productCode
protected java.lang.String productSKU
protected java.math.BigDecimal discountRate
protected java.math.BigDecimal discountAmount
protected java.lang.Boolean taxIncludedInTotal
protected java.lang.Boolean taxIsAfterDiscount
public java.lang.String getItemId()
Stringpublic void setItemId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigDecimal getQuantity()
BigDecimalpublic void setQuantity(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getUnitPrice()
BigDecimalpublic void setUnitPrice(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.lang.Boolean isTaxable()
Booleanpublic void setTaxable(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.String getUnitOfMeasure()
Stringpublic void setUnitOfMeasure(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getTypeOfSupply()
Stringpublic void setTypeOfSupply(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigDecimal getTaxRate()
BigDecimalpublic void setTaxRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getTaxAmount()
BigDecimalpublic void setTaxAmount(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getNationalTax()
BigDecimalpublic void setNationalTax(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getLocalTax()
BigDecimalpublic void setLocalTax(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getVatRate()
BigDecimalpublic void setVatRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.lang.String getAlternateTaxId()
Stringpublic void setAlternateTaxId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getAlternateTaxType()
Stringpublic void setAlternateTaxType(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getAlternateTaxTypeApplied()
Stringpublic void setAlternateTaxTypeApplied(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigDecimal getAlternateTaxRate()
BigDecimalpublic void setAlternateTaxRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getAlternateTaxAmount()
BigDecimalpublic void setAlternateTaxAmount(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getTotalAmount()
BigDecimalpublic void setTotalAmount(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.lang.String getCommodityCode()
Stringpublic void setCommodityCode(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getProductCode()
Stringpublic void setProductCode(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getProductSKU()
Stringpublic void setProductSKU(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigDecimal getDiscountRate()
BigDecimalpublic void setDiscountRate(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.math.BigDecimal getDiscountAmount()
BigDecimalpublic void setDiscountAmount(java.math.BigDecimal value)
value - allowed object is
BigDecimalpublic java.lang.Boolean isTaxIncludedInTotal()
Booleanpublic void setTaxIncludedInTotal(java.lang.Boolean value)
value - allowed object is
Booleanpublic java.lang.Boolean isTaxIsAfterDiscount()
Booleanpublic void setTaxIsAfterDiscount(java.lang.Boolean value)
value - allowed object is
BooleanCopyright © 2018. All Rights Reserved.