Component 
SUMMARY: XML REP | DERIVED | USE
DETAIL: DESC | XML SRC | TYPE | ATTR | CHILD
eBay Trading API

complexType "ns:MeasureType"
Namespace:
Content:
simple, 2 attributes
Defined:
globally in Schema in ebaySvc.wsdl; see XML source
Includes:
definitions of 2 attributes
Used:
at 11 locations
Component Diagram
XML Representation Summary
<...
   
 = 
xs:token
 = 
("English" | "Metric")
   
>
   
Content: 
{ xs:decimal }
</...>
All Direct / Indirect Based Elements (11):
Known Usage Locations
Annotation
Basic type for specifying measures and the system of measurement. A decimal value (e.g., 10.25) is meaningful as a measure when accompanied by a definition of the unit of measure (e.g., Pounds), in which case the value specifies the quantity of that unit. A MeasureType expresses both the value (a decimal) and, optionally, the unit and the system of measurement. Details such as shipping weights are specified as measure types.
Type Definition Detail
Type Derivation Tree
xs:decimal (extension)
  ns:MeasureType
Derivation:
extension of xs:decimal
XML Source (w/o annotations (3); see within schema source)
<xs:complexType name="MeasureType">
<xs:simpleContent>
<xs:extension base="xs:decimal">
<xs:attribute name="unit" type="xs:token" use="optional"/>
<xs:attribute name="measurementSystem" type="ns:MeasurementSystemCodeType" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Attribute Detail (all declarations defined in this component; 2/2)
measurementSystem
Type:
Use:
optional
The system of measurement (e.g., English).
Attribute Value
enumeration of xs:token
Enumeration:
"English"
 - 
This enumeration value indicates that the English system of measurement is being used. Also known as the Imperial System of Measurement. Weights in this system are expressed as pounds and ounces, and package dimensions are expressed as feet or inches.
"Metric"
 - 
This enumeration value indicates that the English system of measurement is being used. Weights in this system are expressed as kilograms and grams, and package dimensions are expressed as meters or centimeters.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="measurementSystem" type="ns:MeasurementSystemCodeType" use="optional"/>

unit
Type:
xs:token, predefined
Use:
optional
Unit of measure. This attribute is shared by various fields, representing units such as lbs, oz, kg, g, in, cm.

For weight, English major/minor units are pounds and ounces, and metric major/minor units are kilograms and grams. For length, the English unit is inches, and metric unit is centimeters.

To get the full list of package dimension and weight measurement units (and all alternative spellings and abbreviations) supported by your site, call GeteBayDetails.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="unit" type="xs:token" use="optional"/>

 Component 
SUMMARY: XML REP | DERIVED | USE
DETAIL: DESC | XML SRC | TYPE | ATTR | CHILD
eBay Trading API

WSDL documentation generated with FlexDoc/XML 1.13 using FlexDoc/XML WSDLDoc 1.2.5 template set. All XSD diagrams generated by FlexDoc/XML DiagramKit.