Definition Type: ComplexType
Name: RatePlan
Namespace: http://www.opentravel.org/OTM/product/hospitality/v1
Containing Schema: Hospitality_1_0_0.xsd
Abstract
Documentation:
Information significant to defining a rate plan.
Collapse XSD Schema Diagram:
Drilldown into ExtensionPoint_Summary in schema otm_builtins_xsd Drilldown into RatePlanType in schema hospitality_1_0_0_xsd Drilldown into RatePlanCode in schema hospitality_1_0_0_xsd Drilldown into RatePlanInclusions in schema hospitality_1_0_0_xsd Drilldown into Description in schema common_4_0_0_xsd Drilldown into ratePlanName in schema hospitality_1_0_0_xsd Drilldown into ratePlanID in schema hospitality_1_0_0_xsdXSD Diagram of RatePlan in schema hospitality_1_0_0_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xsd:complexType name="RatePlan">
    <xsd:annotation>
        <xsd:documentation source="Description">Information significant to defining a rate plan.</xsd:documentation>
        <xsd:appinfo>
            <otm:OTA2Entity type="CoreObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlan</otm:OTA2Entity>
        </xsd:appinfo>
    </xsd:annotation>
    <xsd:sequence>
        <xsd:element maxOccurs="1" minOccurs="0" ref="ota2-0400:Description">
            <xsd:annotation>
                <xsd:documentation source="Description">Describes the rate plan.</xsd:documentation>
                <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}ParagraphType</xsd:documentation>
                <xsd:appinfo>
                    <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00" />
                </xsd:appinfo>
            </xsd:annotation>
        </xsd:element>
        <xsd:element maxOccurs="50" minOccurs="0" ref="ph:RatePlanInclusions">
            <xsd:annotation>
                <xsd:documentation source="Description">Items that are included with the rate plan.</xsd:documentation>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" name="RatePlanCode" type="ph:RatePlanCode">
            <xsd:annotation>
                <xsd:documentation source="Description">The RatePlanCode assigned by the receiving system for the inventory item in response to a new rate plan notification. (Implementation Notes: This would only be returned when the notification is of type New and the sender is translating RatePlanCode values. On subsequent transactions for this rate plan, the sender would populate the RatePlanCode attribute with this value returned by the receiver.)</xsd:documentation>
                <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to16</xsd:documentation>
                <xsd:appinfo>
                    <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanCode</otm:Equivalent>
                </xsd:appinfo>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" name="RatePlanType" type="ota2-0300:RatePlanType_Enum">
            <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. Refer to OpenTravel Code List Rate Plan Type (RPT).</xsd:documentation>
                <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}OTA_CodeType</xsd:documentation>
                <xsd:appinfo>
                    <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanType</otm:Equivalent>
                </xsd:appinfo>
            </xsd:annotation>
        </xsd:element>
        <xsd:element minOccurs="0" ref="ota2:ExtensionPoint_Summary" />
    </xsd:sequence>
    <xsd:attribute name="ratePlanID" type="ota2-0400:StringShort" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">A text field used to provide a special  ID code that is associated with the rate and is required in the reservation request in order to obtain the rate. Examples are a corporate ID number, a promotion code or a membership number.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}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">AAAB</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
    <xsd:attribute name="ratePlanName" type="ota2-0400:StringShort" use="optional">
        <xsd:annotation>
            <xsd:documentation source="Description">Provides the name of the rate plan or group. Typically used with RatePlanType to further describe the rate plan.</xsd:documentation>
            <xsd:documentation source="Implementer">Assigned XSD Type: {http://chameleon.anonymous/ns}StringLength1to64</xsd:documentation>
            <xsd:appinfo>
                <otm:Equivalent context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RatePlanName</otm:Equivalent>
                <otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">AAA with Breakfast</otm:Example>
            </xsd:appinfo>
        </xsd:annotation>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
Description ota2-0400:Description 0 1
RatePlanInclusions ph:RatePlanInclusions 0 50
RatePlanCode ph:RatePlanCode 0 (1)
RatePlanType ph:RatePlanType 0 (1)
ExtensionPoint_Summary ota2:ExtensionPoint_Summary 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
ratePlanID ph:ratePlanID Optional
ratePlanName ph:ratePlanName Optional
Collapse Derivation Tree:
Collapse References:
ph:RatePlan, ph:RatePlan_Detail, ph:RatePlanSubGrp, ph:RatePlanSummary