Definition Type: ComplexType
Name: RatePlanCode
Namespace: http://www.opentravel.org/OTM/product/hospitality/v1
Type: ota2-0400:StringShort
Containing Schema: Hospitality_1_0_0.xsd
Abstract
Documentation:
A string value may be used to request a particular code or an ID if the guest qualifies for a specific rate, such as AARP, AAA, a corporate rate, etc., or to specify a negotiated code as a result of a negotiated rate. Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64
Collapse XSD Schema Diagram:
Drilldown into ratePlanQualifierInd in schema hospitality_1_0_0_xsd Drilldown into promotionVendorCode in schema hospitality_1_0_0_xsd Drilldown into promotionCode in schema hospitality_1_0_0_xsd Drilldown into ratePlanCategory in schema hospitality_1_0_0_xsd Drilldown into ratePlanID in schema hospitality_1_0_0_xsd Drilldown into ratePlanTypeExtension in schema hospitality_1_0_0_xsd Drilldown into ratePlanType in schema hospitality_1_0_0_xsdXSD Diagram of RatePlanCode in schema hospitality_1_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="RatePlanCode">
    <xsd:annotation>
        <xsd:documentation source="Description">A string value may be used to request a particular code or an ID if the guest qualifies for a specific rate, such as AARP, AAA, a corporate rate, etc., or to specify a negotiated code as a result of a negotiated rate.</xsd:documentation>
        <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="ValueWithAttributes" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanCode</otm:OTA2Entity>
            <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanGroup</otm:Equivalent>
            <otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">AAAB</otm:Example>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:simpleContent>
        <xsd:extension base="ota2-0400:StringShort">
            <xsd:attribute name="ratePlanType" type="ota2-0300:RatePlanType_Enum_Base" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">An enumerated type that allows the query to specify a rate category type, and provides major categories for comparison across brands.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}OTA_CodeType</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanType</otm:Equivalent>
                        <otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">11.RPT</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="ratePlanTypeExtension" type="ota2:String_EnumExtension" />
            <xsd:attribute name="ratePlanID" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">A text field used to indicate a unique ID that is associated with the rate plan and is essential in the reservation request in order to obtain the rate.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanID</otm:Equivalent>
                        <otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">12345678</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="ratePlanCategory" type="ota2-0400:StringShort" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Hotel systems often group multiple rate plans into a single category. This refers to that category that is specific to the hotel CRS/ PMS and should not be confused with a GDS rate category.</xsd:documentation>
                    <xsd:documentation source="Implementer">Assigned XSD Type: {http://www.w3.org/2001/XMLSchema}StringLength1to64</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanCategory</otm:Equivalent>
                        <otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">POD</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="promotionCode" type="ota2-0400:StringTiny" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">Used to provide a promotion code of the loyalty redemption.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">L9Z</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="promotionVendorCode" type="ota2-0400:ListOfTinyStrings" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">List of the vendor codes associated with a promotion.</xsd:documentation>
                    <xsd:appinfo>
                        <otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">WT1</otm:Example>
                    </xsd:appinfo>
                </xsd:annotation>
            </xsd:attribute>
            <xsd:attribute name="ratePlanQualifierInd" type="xsd:boolean" use="optional">
                <xsd:annotation>
                    <xsd:documentation source="Description">The Rate Plan Qualifier is used to control the sort order of RatePlans. Those Rate Plans that are not qualified will appear first, those that are qualified will appear last.</xsd:documentation>
                </xsd:annotation>
            </xsd:attribute>
        </xsd:extension>
    </xsd:simpleContent>
</xsd:complexType>
Collapse Child Attributes:
Name Type Default Value Use
ratePlanType ph:ratePlanType Optional
ratePlanTypeExtension ph:ratePlanTypeExtension (Optional)
ratePlanID ph:ratePlanID Optional
ratePlanCategory ph:ratePlanCategory Optional
promotionCode ph:promotionCode Optional
promotionVendorCode ph:promotionVendorCode Optional
ratePlanQualifierInd ph:ratePlanQualifierInd Optional
Collapse Derivation Tree:
Collapse References:
ph:RatePlanCode, orghs-0300:RatePlanCode