org.ota.hotel
Class ResNotifRQ

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

public class ResNotifRQ
extends java.lang.Object

Hotel Reservation Notif Request supports the functionality of updating other systems with reservation data. The message assumes a push model, with the originating system pushing the data to another system. The originating system would usually be a booking source, such as a Global Distribution System (GDS), a Central Reservation System (CRS) or some other agent 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_HotelResNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS" minOccurs="0"/>
       <xs:element type="ns:UniqueID_Type" name="MessageID" minOccurs="0"/>
       <xs:element type="ns:HotelReservationsType" name="HotelReservations" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attribute type="ns:TransactionActionType" use="optional" name="ResStatus"/>
     <xs:attribute type="xs:string" use="optional" name="HoldDuration"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ResNotifRQ()
           
 
Method Summary
 java.lang.String getHoldDuration()
          Get the 'HoldDuration' attribute value.
 HotelReservations getHotelReservations()
          Get the 'HotelReservations' element value.
 UniqueID getMessageID()
          Get the 'MessageID' element value.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 TransactionAction getResStatus()
          Get the 'ResStatus' attribute value.
 void setHoldDuration(java.lang.String holdDuration)
          Set the 'HoldDuration' attribute value.
 void setHotelReservations(HotelReservations hotelReservations)
          Set the 'HotelReservations' element value.
 void setMessageID(UniqueID messageID)
          Set the 'MessageID' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setResStatus(TransactionAction resStatus)
          Set the 'ResStatus' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResNotifRQ

public ResNotifRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. The point-of-sale data, contained in the element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. The point-of-sale data, contained in the element, communicates the information that allows the receiving system to identify the trading partner that is sending the request or the response message.

Parameters:
POS -

getMessageID

public UniqueID getMessageID()
Get the 'MessageID' element value. This represents a batch ID.

Returns:
value

setMessageID

public void setMessageID(UniqueID messageID)
Set the 'MessageID' element value. This represents a batch ID.

Parameters:
messageID -

getHotelReservations

public HotelReservations getHotelReservations()
Get the 'HotelReservations' element value.

Returns:
value

setHotelReservations

public void setHotelReservations(HotelReservations hotelReservations)
Set the 'HotelReservations' element value.

Parameters:
hotelReservations -

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 -

getResStatus

public TransactionAction getResStatus()
Get the 'ResStatus' attribute value.

Returns:
value

setResStatus

public void setResStatus(TransactionAction resStatus)
Set the 'ResStatus' attribute value.

Parameters:
resStatus -

getHoldDuration

public java.lang.String getHoldDuration()
Get the 'HoldDuration' attribute value. The time until a hold is released.

Returns:
value

setHoldDuration

public void setHoldDuration(java.lang.String holdDuration)
Set the 'HoldDuration' attribute value. The time until a hold is released.

Parameters:
holdDuration -