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