public class

QuantityType

extends Object
java.lang.Object
   ↳ ebay.apis.corecomponenttypes.QuantityType

Class Overview

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>double">
       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}token" />
     </extension>
   </simpleContent>
 </complexType>
 

Summary

Fields
protected String unit
protected double value
Public Constructors
QuantityType()
Public Methods
String getUnit()
Gets the value of the unit property.
double getValue()
Gets the value of the value property.
void setUnit(String value)
Sets the value of the unit property.
void setValue(double value)
Sets the value of the value property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String unit

protected double value

Public Constructors

public QuantityType ()

Public Methods

public String getUnit ()

Gets the value of the unit property.

Returns
  • possible object is String

public double getValue ()

Gets the value of the value property.

public void setUnit (String value)

Sets the value of the unit property.

Parameters
value Allowed object is String

public void setValue (double value)

Sets the value of the value property.

Parameters
value