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"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
description |
protected java.lang.String |
itemId |
protected java.lang.String |
name |
protected java.math.BigDecimal |
quantity |
protected java.lang.Boolean |
taxable |
protected java.math.BigDecimal |
unitPrice |
| Constructor and Description |
|---|
LineItemType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.lang.String |
getItemId()
Gets the value of the itemId property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.math.BigDecimal |
getQuantity()
Gets the value of the quantity property.
|
java.math.BigDecimal |
getUnitPrice()
Gets the value of the unitPrice property.
|
java.lang.Boolean |
isTaxable()
Gets the value of the taxable property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setItemId(java.lang.String value)
Sets the value of the itemId property.
|
void |
setName(java.lang.String value)
Sets the value of the name 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 |
setUnitPrice(java.math.BigDecimal value)
Sets the value of the unitPrice 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
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
BooleanCopyright © 2018. All Rights Reserved.