<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>
|