Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class QuantityType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.QuantityType
All Implemented Interfaces:
java.io.Serializable

public class QuantityType
extends java.lang.Object
implements java.io.Serializable

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>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String unit
           
protected  java.math.BigDecimal value
           
 
Constructor Summary
QuantityType()
           
 
Method Summary
 java.lang.String getUnit()
          Gets the value of the unit property.
 java.math.BigDecimal getValue()
          Gets the value of the value property.
 void setUnit(java.lang.String value)
          Sets the value of the unit property.
 void setValue(java.math.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

value

protected java.math.BigDecimal value

unit

protected java.lang.String unit
Constructor Detail

QuantityType

public QuantityType()
Method Detail

getValue

public java.math.BigDecimal getValue()
Gets the value of the value property.

Returns:
possible object is BigDecimal

setValue

public void setValue(java.math.BigDecimal value)
Sets the value of the value property.

Parameters:
value - allowed object is BigDecimal

getUnit

public java.lang.String getUnit()
Gets the value of the unit property.

Returns:
possible object is String

setUnit

public void setUnit(java.lang.String value)
Sets the value of the unit property.

Parameters:
value - allowed object is String

Changes since
the last release

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.