Definition Type: ComplexType
Name: AmountPercent
Namespace: http://www.opentravel.org/OTM/Common/v4
Type: ota2:Empty
Containing Schema: Common_4_0_0.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into decimalPlaces in schema common_4_0_0_xsd Drilldown into currencyCode in schema common_4_0_0_xsd Drilldown into percent in schema common_4_0_0_xsd Drilldown into amount in schema common_4_0_0_xsdXSD Diagram of AmountPercent in schema common_4_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="AmountPercent">
    <xsd:annotation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">AmountPercent</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2:Empty">
            <xsd:attribute name="amount" type="xsd:decimal" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Specifies the amount.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">5000</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="percent" type="ota2-0400:Percent" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Specifies the percentage.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="Common" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">5</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="currencyCode" type="ota2-0400:CurrencyCode_ISO4217" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Specifies the currency code for the amount.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="decimalPlaces" type="ota2-0400:String" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Implementer: 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 DecimalPla</xsd:documentation>
                    <xsd:appinfo>
                        <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
amount ota2-0400:amount Optional
percent ota2-0400:percent Optional
currencyCode ota2-0400:currencyCode Optional
decimalPlaces ota2-0400:decimalPlaces Optional
Collapse Derivation Tree:
Collapse References:
order-0300:AmountPercent, order-0300:AmountPercent