Definition Type: ComplexType
Name: CurrencyCode
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2-0400:CurrencyCode_ISO4217
Containing Schema: Common_4_0_0.xsd
Abstract
Documentation:
An ISO 4217 (3) alpha character code that specifies a monetary unit. Assigned XSD Type: {http://chameleon.anonymous/ns}AlphaLength3
Collapse XSD Schema Diagram:
Drilldown into decimalPlaces in schema common_4_0_0_xsdXSD Diagram of CurrencyCode in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="CurrencyCode">
    <xsd:annotation>
        <xsd:documentation source="Description">An ISO 4217 (3) alpha character code that specifies a monetary unit.</xsd:documentation>
        <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}AlphaLength3</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">CurrencyCode</otm:OTA2Entity>
            <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">CurrencyCodeGroup</otm:Equivalent>
            <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">USD</otm:Example>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2-0400:CurrencyCode_ISO4217">
            <xsd:attribute name="decimalPlaces" type="xsd:string" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The ISO 4217 standard &amp;quot;minor unit&amp;quot; is typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces=&amp;quot;2&amp;quot; to represent $85).</xsd:documentation>
                    <xsd:documentation source="Implementer">Changed type from {http://www.w3.org/2001/XMLSchema}nonNegativeInteger.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}string</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">DecimalPlaces</otm:Equivalent>
                        <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
decimalPlaces ota2-0400:decimalPlaces Optional
Collapse Derivation Tree:
Collapse References:
order-0300:CurrencyCode, order-0300:CurrencyCode