Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class UnitInfoType

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

public class UnitInfoType
extends Object
implements Serializable

This type provides information about the weight, volume or other quantity measurement of a listed item. The European Union requires listings for certain types of products to include the price per unit so buyers can accurately compare prices. eBay uses the UnitType and UnitQuantity values and the item's listed price to calculate and display the per-unit price on eBay EU sites.

Java class for UnitInfoType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="UnitInfoType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="UnitType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UnitQuantity" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  Double unitQuantity
           
protected  String unitType
           
 
Constructor Summary
UnitInfoType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 Double getUnitQuantity()
          Gets the value of the unitQuantity property.
 String getUnitType()
          Gets the value of the unitType property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setUnitQuantity(Double value)
          Sets the value of the unitQuantity property.
 void setUnitType(String value)
          Sets the value of the unitType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unitType

protected String unitType

unitQuantity

protected Double unitQuantity

any

protected List<Object> any
Constructor Detail

UnitInfoType

public UnitInfoType()
Method Detail

getUnitType

public String getUnitType()
Gets the value of the unitType property.

Returns:
possible object is String

setUnitType

public void setUnitType(String value)
Sets the value of the unitType property.

Parameters:
value - allowed object is String

getUnitQuantity

public Double getUnitQuantity()
Gets the value of the unitQuantity property.

Returns:
possible object is Double

setUnitQuantity

public void setUnitQuantity(Double value)
Sets the value of the unitQuantity property.

Parameters:
value - allowed object is Double

getAny

public Object[] getAny()
Returns:
array of Element Object

getAny

public Object getAny(int idx)
Returns:
one of Element Object

getAnyLength

public int getAnyLength()

setAny

public void setAny(Object[] values)
Parameters:
values - allowed objects are Element Object

_getAny

protected List<Object> _getAny()

setAny

public Object setAny(int idx,
                     Object value)
Parameters:
value - allowed object is Element Object

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.