|
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.UnitInfoType
public class UnitInfoType
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>
Field Summary | |
---|---|
protected java.util.List<java.lang.Object> |
any
|
protected java.lang.Double |
unitQuantity
|
protected java.lang.String |
unitType
|
Constructor Summary | |
---|---|
UnitInfoType()
|
Method Summary | |
---|---|
protected java.util.List<java.lang.Object> |
_getAny()
|
java.lang.Object[] |
getAny()
|
java.lang.Object |
getAny(int idx)
|
int |
getAnyLength()
|
java.lang.Double |
getUnitQuantity()
Gets the value of the unitQuantity property. |
java.lang.String |
getUnitType()
Gets the value of the unitType property. |
java.lang.Object |
setAny(int idx,
java.lang.Object value)
|
void |
setAny(java.lang.Object[] values)
|
void |
setUnitQuantity(java.lang.Double value)
Sets the value of the unitQuantity property. |
void |
setUnitType(java.lang.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 |
---|
protected java.lang.String unitType
protected java.lang.Double unitQuantity
protected java.util.List<java.lang.Object> any
Constructor Detail |
---|
public UnitInfoType()
Method Detail |
---|
public java.lang.String getUnitType()
String
public void setUnitType(java.lang.String value)
value
- allowed object is
String
public java.lang.Double getUnitQuantity()
Double
public void setUnitQuantity(java.lang.Double value)
value
- allowed object is
Double
public java.lang.Object[] getAny()
Object
Element
public java.lang.Object getAny(int idx)
Object
Element
public int getAnyLength()
public void setAny(java.lang.Object[] values)
values
- allowed objects are
Object
Element
protected java.util.List<java.lang.Object> _getAny()
public java.lang.Object setAny(int idx, java.lang.Object value)
value
- allowed object is
Object
Element
|
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.