org.ota.hotel
Class BookingRuleNotifRQ.RuleMessages.RuleMessage

java.lang.Object
  extended by org.ota.hotel.BookingRuleNotifRQ.RuleMessages.RuleMessage
Enclosing class:
BookingRuleNotifRQ.RuleMessages

public static class BookingRuleNotifRQ.RuleMessages.RuleMessage
extends java.lang.Object

Container for the collection of Booking Rules for a given hotel or chain. 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="RuleMessage" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:StatusApplicationControlType" name="StatusApplicationControl" minOccurs="0"/>
       <xs:element type="ns:BookingRulesType" name="BookingRules" minOccurs="0"/>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
BookingRuleNotifRQ.RuleMessages.RuleMessage()
           
 
Method Summary
 BookingRules getBookingRules()
          Get the 'BookingRules' element value.
 StatusApplicationControl getStatusApplicationControl()
          Get the 'StatusApplicationControl' element value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setBookingRules(BookingRules bookingRules)
          Set the 'BookingRules' element value.
 void setStatusApplicationControl(StatusApplicationControl statusApplicationControl)
          Set the 'StatusApplicationControl' element value.
 void setUniqueID(UniqueID uniqueID)
          Set the 'UniqueID' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookingRuleNotifRQ.RuleMessages.RuleMessage

public BookingRuleNotifRQ.RuleMessages.RuleMessage()
Method Detail

getStatusApplicationControl

public StatusApplicationControl getStatusApplicationControl()
Get the 'StatusApplicationControl' element value. Information on what the BookingRule Message applies to (i.e. the combination of inventory and rate codes) and the period of application.

Returns:
value

setStatusApplicationControl

public void setStatusApplicationControl(StatusApplicationControl statusApplicationControl)
Set the 'StatusApplicationControl' element value. Information on what the BookingRule Message applies to (i.e. the combination of inventory and rate codes) and the period of application.

Parameters:
statusApplicationControl -

getBookingRules

public BookingRules getBookingRules()
Get the 'BookingRules' element value. Container for the collection of Booking Rules which apply for the information indicated in the StatusApplicationControl element.

Returns:
value

setBookingRules

public void setBookingRules(BookingRules bookingRules)
Set the 'BookingRules' element value. Container for the collection of Booking Rules which apply for the information indicated in the StatusApplicationControl element.

Parameters:
bookingRules -

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. The unique identifier element allows the trading partners to uniquely identify each BookingRuleMessage, for tracing of transactions.

Returns:
value

setUniqueID

public void setUniqueID(UniqueID uniqueID)
Set the 'UniqueID' element value. The unique identifier element allows the trading partners to uniquely identify each BookingRuleMessage, for tracing of transactions.

Parameters:
uniqueID -