<xsd:complexType name="RoomRate">
<xsd:annotation>
<xsd:documentation source="Description">Specifies the details of a room rate.</xsd:documentation>
<xsd:appinfo>
<otm:OTA2Entity type="BusinessObject" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">RoomRate</otm:OTA2Entity>
</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="ph:RoomRate_ID">
<xsd:sequence>
<xsd:element minOccurs="0" name="Rate" type="ota2-0400:RoomPrice">
<xsd:annotation>
<xsd:documentation source="Description">Specifies the rate for the room.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element minOccurs="0" ref="ota2:ExtensionPoint_Summary" />
</xsd:sequence>
<xsd:attribute name="effectiveDate" type="xsd:date" use="required">
<xsd:annotation>
<xsd:documentation source="Description">Specifies the starting date for this room rate.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2017-08-22</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expireDate" type="xsd:date" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">Specifies the end date for this room rate.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">2018-08-22</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="bookingCode" type="ota2-0400:StringTiny" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">This is used to indicate the item booked and is primarily used to exchange information with GDSs.</xsd:documentation>
<xsd:appinfo>
<otm:Example context="ph" xmlns:otm="http://www.OpenTravel.org/ns/OTA2/AppInfo_v01_00">A1KRACKB</otm:Example>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="expireDateExclusiveInd" type="xsd:boolean" use="optional">
<xsd:annotation>
<xsd:documentation source="Description">When true, the ExpireDate is the first day after the applicable period (e.g. when expire date is Oct 15 the last date of the period is Oct 14).</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
|