Definition Type: AttributeGroup
Name: CurrencyCodeGroup
Containing Schema: OTA_CommonTypes.xsd
Documentation:
Provides a currency code to reflect the currency in which an amount may be expressed.
Collapse XSD Schema Diagram:
Drilldown into DecimalPlaces in schema ota_commontypes_xsd1 Drilldown into CurrencyCode in schema ota_commontypes_xsd1XSD Diagram of CurrencyCodeGroup in schema ota_commontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:attributeGroup name="CurrencyCodeGroup">
    <xs:annotation>
        <xs:documentation xml:lang="en">Provides a currency code to reflect the currency in which an amount may be expressed.</xs:documentation>
    </xs:annotation>
    <xs:attribute name="CurrencyCode" type="AlphaLength3" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The code specifying a monetary unit. Use ISO 4217, three alpha code.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="DecimalPlaces" type="xs:nonNegativeInteger" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Indicates the number of decimal places for a particular currency. This is equivalent to the ISO 4217 standard "minor unit". Typically used when the amount provided includes the minor unit of currency without a decimal point (e.g., USD 8500 needs DecimalPlaces="2" to represent $85).</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:attributeGroup>
Collapse Child Attributes:
Name Type Default Value Use
CurrencyCode CurrencyCode Optional
DecimalPlaces DecimalPlaces Optional