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

complexType "ns:AmountType"
Namespace:
Content:
simple, 1 attribute
Defined:
globally in Schema in ebaySvc.wsdl; see XML source
Includes:
definition of 1 attribute
Used:
at 180 locations
Component Diagram
XML Representation Summary
<...
   
 = 
("AFA" | "ALL" | "DZD" | "ADP" | "AOA" | "ARS" | "AMD" | "AWG" | "AZM" | "BSD" | "BHD" | "BDT" | "BBD" | "BYR" | "BZD" | "BMD" | "BTN" | "INR" | "BOV" | "BOB" | "BAM" | "BWP" | "BRL" | "BND" | "BGL" | "BGN" | "BIF" | "KHR" | "CAD" | "CVE" | "KYD" | "XAF" | "CLF" | "CLP" | "CNY" | "COP" | "KMF" | "CDF" | "CRC" | "HRK" | "CUP" | "CYP" | "CZK" | "DKK" | "DJF" | "DOP" | "TPE" | "ECV" | "ECS" | "EGP" | "SVC" | "ERN" | "EEK" | "ETB" | "FKP" | "FJD" | "GMD" | "GEL" | "GHC" | "GIP" | "GTQ" | "GNF" | "GWP" | "GYD" | "HTG" | "HNL" | "HKD" | "HUF" | "ISK" | "IDR" | "IRR" | "IQD" | "ILS" | "JMD" | "JPY" | "JOD" | "KZT" | "KES" | "AUD" | "KPW" | "KRW" | "KWD" | "KGS" | "LAK" | "LVL" | "LBP" | "LSL" | "LRD" | "LYD" | "CHF" | "LTL" | "MOP" | "MKD" | "MGF" | "MWK" | "MYR" | "MVR" | "MTL" | "EUR" | "MRO" | "MUR" | "MXN" | "MXV" | "MDL" | "MNT" | "XCD" | "MZM" | "MMK" | "ZAR" | "NAD" | "NPR" | "ANG" | "XPF" | "NZD" | "NIO" | "NGN" | "NOK" | "OMR" | "PKR" | "PAB" | "PGK" | "PYG" | "PEN" | "PHP" | "PLN" | "USD" | "QAR" | "ROL" | "RUB" | "RUR" | "RWF" | "SHP" | "WST" | "STD" | "SAR" | "SCR" | "SLL" | "SGD" | "SKK" | "SIT" | "SBD" | "SOS" | "LKR" | "SDD" | "SRG" | "SZL" | "SEK" | "SYP" | "TWD" | "TJS" | "TZS" | "THB" | "XOF" | "TOP" | "TTD" | "TND" | "TRL" | "TMM" | "UGX" | "UAH" | "AED" | "GBP" | "USS" | "USN" | "UYU" | "UZS" | "VUV" | "VEB" | "VND" | "MAD" | "YER" | "YUM" | "ZMK" | "ZWD" | "ATS" | "CustomCode")
   
>
   
Content: 
{ xs:double }
</...>
All Direct / Indirect Based Elements (180):
ns:AdjustmentAmount (defined in ns:OrderType complexType),
ns:AdjustmentAmount (defined in ns:TransactionType complexType),
ns:AmountPaid (defined in ns:OrderType complexType),
ns:AmountPaid (defined in ns:SellerPaymentType complexType),
ns:AmountPaid (defined in ns:TransactionType complexType),
ns:BuyItNowPrice (defined in ns:ItemType complexType),
ns:BuyerGuaranteePrice (defined in ns:ItemType complexType),
ns:BuyerGuaranteePrice (defined in ns:TransactionType complexType),
ns:CODCost (defined in ns:ShippingDetailsType complexType),
ns:Fee (defined in ns:FeeType complexType),
ns:Fee (defined in ns:PictureManagerSubscriptionType complexType),
ns:FinalValueFee (defined in ns:SellingStatusType complexType),
ns:FinalValueFee (defined in ns:TransactionType complexType),
ns:HighestBid (defined in ns:OfferType complexType),
ns:MaxBid (defined in ns:OfferType complexType),
ns:MaxPrice (defined in ns:ProductType complexType),
ns:MinPrice (defined in ns:ProductType complexType),
ns:RefundAmount (defined in ns:OrderType complexType),
ns:RefundAmount (defined in ns:TransactionType complexType),
ns:RefundAmount (in ns:Refund defined in ns:RefundArrayType complexType),
ns:ShippingConvenienceCharge (defined in ns:OrderType complexType),
ns:StartPrice (defined in ns:InventoryStatusType complexType),
ns:StartPrice (defined in ns:ItemType complexType),
ns:StartPrice (defined in ns:VariationType complexType),
ns:TotalTaxAmount (defined in ns:TaxesType complexType),
ns:TransactionPrice (defined in ns:SellerPaymentType complexType),
ns:TransactionPrice (defined in ns:TransactionType complexType)
Known Usage Locations
Annotation
An eBay-defined complex type for specifying monetary amounts.

A double value (e.g., 1.00 or 1.0) is meaningful as a monetary amount when accompanied by a specification of the currency, in which case the value specifies the amount in that currency. An AmountType expresses both the value (a double) and the currency.

The AmountType data type is typically used to specify details such as prices, fees, costs, and payments. In some cases, a whole number (i.e., without a period) can be passed or returned as a monetary value. This is necessary to support certain currencies that are only expressed as whole numbers.

Because a double is used to represent the amount, this also means whole monetary amounts may be returned with only one 0 after the decimal. For example, a dollar value could be returned as 1.0 instead of 1.00 in calls like AddItem.
Type Definition Detail
Type Derivation Tree
xs:double (extension)
  ns:AmountType
Derivation:
extension of xs:double
XML Source (w/o annotations (2); see within schema source)
<xs:complexType name="AmountType">
<xs:simpleContent>
<xs:extension base="xs:double">
<xs:attribute name="currencyID" type="ns:CurrencyCodeType" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
Attribute Detail (all declarations defined in this component; 1/1)
currencyID
Type:
Use:
required
Three-digit code representing the currency type being used.

In Add/Revise/Relist calls, the currency can be specified in the Item.Currency field in requests instead. If you do specify this attribute in Add/Revise/Relist calls, the value must match the site currency (i.e., it must be the same as the value in Item.Currency) unless otherwise stated.

In Add/Revise/Relist calls, listing fees are returned in the currency of the user's registration site. For example, a user who is registered on the eBay US site always sees their fees returned in USD, even when their listing request is sent to another site, such as eBay UK or eBay Germany.
Attribute Value
enumeration of xs:token
Enumeration:
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="currencyID" type="ns:CurrencyCodeType" use="required"/>

 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.