|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebay.soap.eBLBaseComponents.QuantityType
public class QuantityType
Basic type for specifying quantities.
Java class for QuantityType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="QuantityType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>decimal">
<attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}token" />
</extension>
</simpleContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
unit
|
protected BigDecimal |
value
|
| Constructor Summary | |
|---|---|
QuantityType()
|
|
| Method Summary | |
|---|---|
String |
getUnit()
Gets the value of the unit property. |
BigDecimal |
getValue()
Gets the value of the value property. |
void |
setUnit(String value)
Sets the value of the unit property. |
void |
setValue(BigDecimal value)
Sets the value of the value property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BigDecimal value
protected String unit
| Constructor Detail |
|---|
public QuantityType()
| Method Detail |
|---|
public BigDecimal getValue()
BigDecimalpublic void setValue(BigDecimal value)
value - allowed object is
BigDecimalpublic String getUnit()
Stringpublic void setUnit(String value)
value - allowed object is
String
|
Changes since the last release |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The information contained in this document is proprietary and confidential.
Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc.
For information regarding a qualifying NDA, contact Developer Relations:
developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.