org.ota.hotel
Class BookingRuleNotifRQ

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

public class BookingRuleNotifRQ
extends java.lang.Object

The OTA_BookingRuleNotifRQ is the message that sends the notification of the rules and restrictions affecting the availability status of the hotel. 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_HotelBookingRuleNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:UniqueID_Type" name="UniqueID" minOccurs="0"/>
       <xs:element name="RuleMessages" minOccurs="0">
         <!-- Reference to inner class RuleMessages -->
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class BookingRuleNotifRQ.RuleMessages
          Container for the individual RuleMessage(s).
 
Constructor Summary
BookingRuleNotifRQ()
           
 
Method Summary
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 BookingRuleNotifRQ.RuleMessages getRuleMessages()
          Get the 'RuleMessages' element value.
 UniqueID getUniqueID()
          Get the 'UniqueID' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setRuleMessages(BookingRuleNotifRQ.RuleMessages ruleMessages)
          Set the 'RuleMessages' 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

public BookingRuleNotifRQ()
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 -

getUniqueID

public UniqueID getUniqueID()
Get the 'UniqueID' element value. The unique identifier element allows the trading partners to uniquely identify each BookingRuleNotifRQ, (i.e. the entire message) 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 BookingRuleNotifRQ, (i.e. the entire message) for tracing of transactions.

Parameters:
uniqueID -

getRuleMessages

public BookingRuleNotifRQ.RuleMessages getRuleMessages()
Get the 'RuleMessages' element value.

Returns:
value

setRuleMessages

public void setRuleMessages(BookingRuleNotifRQ.RuleMessages ruleMessages)
Set the 'RuleMessages' element value.

Parameters:
ruleMessages -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. This element defines standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. This element defines standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -