Definition Type: Element
Name: LoyaltyRedemption
Containing Schema: OTA_CommonTypes.xsd
MinOccurs (1)
MaxOccurs (1)
Abstract
Documentation:
Details of a loyalty redemption arrangement. This is normally miles or points.
Collapse XSD Schema Diagram:
Drilldown into LoyaltyCertificate in schema ota_commontypes_xsd Drilldown into RedemptionQuantity in schema ota_commontypes_xsd1 Drilldown into PromotionVendorCode in schema ota_commontypes_xsd1 Drilldown into PromotionCode in schema ota_commontypes_xsd1 Drilldown into PromotionCodeGroup in schema ota_commontypes_xsd Drilldown into ProgramName in schema ota_commontypes_xsd1 Drilldown into MemberNumber in schema ota_commontypes_xsd1 Drilldown into CertificateNumber in schema ota_commontypes_xsd1 Drilldown into LoyaltyCertificateNumberGroup in schema ota_commontypes_xsdXSD Diagram of LoyaltyRedemption in schema ota_commontypes_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="LoyaltyRedemption">
    <xs:annotation>
        <xs:documentation xml:lang="en">Details of a loyalty redemption arrangement. This is normally miles or points. </xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="LoyaltyCertificate" minOccurs="0" maxOccurs="9">
                <xs:annotation>
                    <xs:documentation xml:lang="en">A certificate may be needed in order to redeem miles or points. Certificates may be used in combination with each other as part of a reservation.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attributeGroup ref="LoyaltyCertificateGroup">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Identifies the loyalty scheme, programs and promotions within the scheme, membership reference, format of the certificate, the number of nights it can be used and its current status.</xs:documentation>
                        </xs:annotation>
                    </xs:attributeGroup>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attributeGroup ref="LoyaltyCertificateNumberGroup">
            <xs:annotation>
                <xs:documentation xml:lang="en">Identifies the Loyalty scheme,  programs and promotions within the scheme, membership reference, form factor used by the certificate, the number of nights it can be used for and its current status.</xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attributeGroup ref="PromotionCodeGroup">
            <xs:annotation>
                <xs:documentation xml:lang="en">Used to provide a promotion code of the loyalty redemption.</xs:documentation>
            </xs:annotation>
        </xs:attributeGroup>
        <xs:attribute name="RedemptionQuantity" type="xs:positiveInteger" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">The quantity of loyalty units being redeemed.</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
LoyaltyCertificate LoyaltyCertificate 0 9
Collapse Child Attributes:
Name Type Default Value Use
CertificateNumber CertificateNumber Optional
MemberNumber MemberNumber Optional
ProgramName ProgramName Optional
PromotionCode PromotionCode Optional
PromotionVendorCode PromotionVendorCode Optional
RedemptionQuantity RedemptionQuantity Optional