Definition Type: ComplexType
Name: CancelRuleType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Provides the cancellation amount due according to the time before the booking date that the cancellation occurs. The amount may be either an amount or a percentage (e.g. 50% within 30 days or $100 outside 30 days).
Collapse XSD Schema Diagram:
Drilldown into PaymentCard in schema ota_commontypes_xsd Drilldown into Type in schema ota_commontypes_xsd1 Drilldown into Percent 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 Amount in schema ota_commontypes_xsd1 Drilldown into CurrencyAmountGroup in schema ota_commontypes_xsd Drilldown into CancelByDate in schema ota_commontypes_xsd1XSD Diagram of CancelRuleType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="CancelRuleType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Provides the cancellation amount due according to the time before the booking date that the cancellation occurs. The amount may be either an amount or a percentage (e.g. 50% within 30 days or $100 outside 30 days). </xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="PaymentCard" type="PaymentCardType" minOccurs="0">
            <xs:annotation>
                <xs:documentation xml:lang="en">The card to be charged with the cancellation fee.</xs:documentation>
            </xs:annotation>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="CancelByDate" type="DateOrDateTimeType">
        <xs:annotation>
            <xs:documentation xml:lang="en">The date by which a cancellation must be made in order to avoid this cancellation penalty.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attributeGroup ref="CurrencyAmountGroup">
        <xs:annotation>
            <xs:documentation xml:lang="en">Provides the amount of the cancellation charge.</xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attribute name="Percent" type="Percentage" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">The percentage to be applied for a cancellation.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="Type" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en">Defines how the cancellation penalty will be applied.</xs:documentation>
        </xs:annotation>
        <xs:simpleType>
            <xs:restriction base="xs:NMTOKEN">
                <xs:enumeration value="Refund" />
                <xs:enumeration value="Charge" />
                <xs:enumeration value="Forfeiture" />
            </xs:restriction>
        </xs:simpleType>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
PaymentCard PaymentCard 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
CancelByDate CancelByDate (Optional)
Amount Amount Optional
CurrencyCode CurrencyCode Optional
DecimalPlaces DecimalPlaces Optional
Percent Percent Optional
Type Type Optional
Collapse Derivation Tree:
Collapse References:
Unresolved link to cancel2nsA:CancellationOverride, CancelRule,