org.ota.hotel
Class BookingRuleRQ

java.lang.Object
  extended by org.ota.hotel.BookingRuleRQ

public class BookingRuleRQ
extends java.lang.Object

This message provides the capability of requesting the rules and usage requirements (either all or for a specific rule category) of a rate for a specific hotel property. The request may be per room type, booking code, check in/out dates, or by confirmation number for a previously booked reservation. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="OTA_HotelBookingRuleRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="RuleMessage">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="StatusApplication" minOccurs="0">
               <!-- Reference to inner class StatusApplication -->
             </xs:element>
             <xs:element type="ns:GuestCountType" name="GuestCounts" minOccurs="0"/>
             <xs:element type="ns:HotelReservationIDsType" name="HotelReservationIDs" minOccurs="0"/>
             <xs:element name="RuleCategories" minOccurs="0">
               <!-- Reference to inner class RuleCategories -->
             </xs:element>
           </xs:sequence>
           <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class BookingRuleRQ.RuleCategories
          A collection of rule categories.
static class BookingRuleRQ.StatusApplication
          Specifies the check in and check out dates, booking code, room type code, and corporate discount number for the booking rules requested.
 
Constructor Summary
BookingRuleRQ()
           
 
Method Summary
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 BookingRuleRQ.RuleCategories getRuleCategories()
          Get the 'RuleCategories' element value.
 GuestCount getRuleMessageGuestCounts()
          Get the 'GuestCounts' element value.
 HotelReferenceGroup getRuleMessageHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 HotelReservationIDs getRuleMessageHotelReservationIDs()
          Get the 'HotelReservationIDs' element value.
 BookingRuleRQ.StatusApplication getStatusApplication()
          Get the 'StatusApplication' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setRuleCategories(BookingRuleRQ.RuleCategories ruleCategories)
          Set the 'RuleCategories' element value.
 void setRuleMessageGuestCounts(GuestCount ruleMessageGuestCounts)
          Set the 'GuestCounts' element value.
 void setRuleMessageHotelReferenceGroup(HotelReferenceGroup ruleMessageHotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setRuleMessageHotelReservationIDs(HotelReservationIDs ruleMessageHotelReservationIDs)
          Set the 'HotelReservationIDs' element value.
 void setStatusApplication(BookingRuleRQ.StatusApplication statusApplication)
          Set the 'StatusApplication' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingRuleRQ

public BookingRuleRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. POS provides a mechanism to indicate the source of the message.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. POS provides a mechanism to indicate the source of the message.

Parameters:
POS -

getStatusApplication

public BookingRuleRQ.StatusApplication getStatusApplication()
Get the 'StatusApplication' element value. Specifies the hotel chain and property for which booking rules are requested.

Returns:
value

setStatusApplication

public void setStatusApplication(BookingRuleRQ.StatusApplication statusApplication)
Set the 'StatusApplication' element value. Specifies the hotel chain and property for which booking rules are requested.

Parameters:
statusApplication -

getRuleMessageGuestCounts

public GuestCount getRuleMessageGuestCounts()
Get the 'GuestCounts' element value. Specifies the number of adults and children per room.

Returns:
value

setRuleMessageGuestCounts

public void setRuleMessageGuestCounts(GuestCount ruleMessageGuestCounts)
Set the 'GuestCounts' element value. Specifies the number of adults and children per room.

Parameters:
ruleMessageGuestCounts -

getRuleMessageHotelReservationIDs

public HotelReservationIDs getRuleMessageHotelReservationIDs()
Get the 'HotelReservationIDs' element value. The hotel confirmation number for which the booking rules are requested.

Returns:
value

setRuleMessageHotelReservationIDs

public void setRuleMessageHotelReservationIDs(HotelReservationIDs ruleMessageHotelReservationIDs)
Set the 'HotelReservationIDs' element value. The hotel confirmation number for which the booking rules are requested.

Parameters:
ruleMessageHotelReservationIDs -

getRuleCategories

public BookingRuleRQ.RuleCategories getRuleCategories()
Get the 'RuleCategories' element value. Specifies the hotel chain and property for which booking rules are requested.

Returns:
value

setRuleCategories

public void setRuleCategories(BookingRuleRQ.RuleCategories ruleCategories)
Set the 'RuleCategories' element value. Specifies the hotel chain and property for which booking rules are requested.

Parameters:
ruleCategories -

getRuleMessageHotelReferenceGroup

public HotelReferenceGroup getRuleMessageHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value.

Returns:
value

setRuleMessageHotelReferenceGroup

public void setRuleMessageHotelReferenceGroup(HotelReferenceGroup ruleMessageHotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value.

Parameters:
ruleMessageHotelReferenceGroup -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -