Definition Type: ComplexType
Name: TotalType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
The total amount charged for the service including additional amounts and fees.
Collapse XSD Schema Diagram:
Drilldown into Taxes in schema ota_commontypes_xsd Drilldown into AdditionalFeesExcludedIndicator in schema ota_commontypes_xsd1 Drilldown into DecimalPlaces in schema ota_commontypes_xsd1 Drilldown into CurrencyCode in schema ota_commontypes_xsd1 Drilldown into CurrencyCodeGroup in schema ota_commontypes_xsd Drilldown into AmountAfterTax in schema ota_commontypes_xsd1 Drilldown into AmountBeforeTax in schema ota_commontypes_xsd1XSD Diagram of TotalType in schema ota_commontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="TotalType">
    <xs:annotation>
        <xs:documentation xml:lang="en">The total amount charged for the service including additional amounts and fees.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="Taxes" type="TaxesType" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">A collection of taxes.</xs:documentation>
            </xs:annotation>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="AmountBeforeTax" type="Money" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The total before taxes are applied.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="AmountAfterTax" type="Money" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The total after taxes have been applied.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="CurrencyCodeGroup" />
    <xs:attribute name="AdditionalFeesExcludedIndicator" type="xs:boolean" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">When true, amounts do not contain additional fees or charges. </xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Taxes Taxes 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
AmountBeforeTax AmountBeforeTax Optional
AmountAfterTax AmountAfterTax Optional
CurrencyCode CurrencyCode Optional
DecimalPlaces DecimalPlaces Optional
AdditionalFeesExcludedIndicator AdditionalFeesExcludedIndicator Optional