org.ota.misc
Class ReadRQ.ReadRequests.HotelReadRequest

java.lang.Object
  extended by org.ota.misc.ReadRQ.ReadRequests.HotelReadRequest
Enclosing class:
ReadRQ.ReadRequests

public static class ReadRQ.ReadRequests.HotelReadRequest
extends java.lang.Object

To retrieve a hotel reservation when the booking reference is not known. 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="HotelReadRequest" minOccurs="0" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="xs:string" name="CityName" minOccurs="0"/>
       <xs:element name="Airport" minOccurs="0">
         <!-- Reference to inner class Airport -->
       </xs:element>
       <xs:element name="UserID" minOccurs="0">
         <!-- Reference to inner class UserID -->
       </xs:element>
       <xs:element type="ns:VerificationType" name="Verification" minOccurs="0"/>
       <xs:element name="SelectionCriteria" minOccurs="0">
         <!-- Reference to inner class SelectionCriteria -->
       </xs:element>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:HotelReferenceGroup"/>
   </xs:complexType>
 </xs:element>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class ReadRQ.ReadRequests.HotelReadRequest.Airport
          Airport code and airport name for the location of the hotel.
static class ReadRQ.ReadRequests.HotelReadRequest.SelectionCriteria
          Schema fragment(s) for this class:
static class ReadRQ.ReadRequests.HotelReadRequest.UserID
          The user id and pin number of the person for whom the reservation is for.
 
Constructor Summary
ReadRQ.ReadRequests.HotelReadRequest()
           
 
Method Summary
 ReadRQ.ReadRequests.HotelReadRequest.Airport getAirport()
          Get the 'Airport' element value.
 java.lang.String getCityName()
          Get the 'CityName' element value.
 HotelReferenceGroup getHotelReferenceGroup()
          Get the 'HotelReferenceGroup' attributeGroup value.
 ReadRQ.ReadRequests.HotelReadRequest.SelectionCriteria getSelectionCriteria()
          Get the 'SelectionCriteria' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 ReadRQ.ReadRequests.HotelReadRequest.UserID getUserID()
          Get the 'UserID' element value.
 Verification getVerification()
          Get the 'Verification' element value.
 void setAirport(ReadRQ.ReadRequests.HotelReadRequest.Airport airport)
          Set the 'Airport' element value.
 void setCityName(java.lang.String cityName)
          Set the 'CityName' element value.
 void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
          Set the 'HotelReferenceGroup' attributeGroup value.
 void setSelectionCriteria(ReadRQ.ReadRequests.HotelReadRequest.SelectionCriteria selectionCriteria)
          Set the 'SelectionCriteria' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setUserID(ReadRQ.ReadRequests.HotelReadRequest.UserID userID)
          Set the 'UserID' element value.
 void setVerification(Verification verification)
          Set the 'Verification' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadRQ.ReadRequests.HotelReadRequest

public ReadRQ.ReadRequests.HotelReadRequest()
Method Detail

getCityName

public java.lang.String getCityName()
Get the 'CityName' element value. City name eg. Dublin

Returns:
value

setCityName

public void setCityName(java.lang.String cityName)
Set the 'CityName' element value. City name eg. Dublin

Parameters:
cityName -

getAirport

public ReadRQ.ReadRequests.HotelReadRequest.Airport getAirport()
Get the 'Airport' element value.

Returns:
value

setAirport

public void setAirport(ReadRQ.ReadRequests.HotelReadRequest.Airport airport)
Set the 'Airport' element value.

Parameters:
airport -

getUserID

public ReadRQ.ReadRequests.HotelReadRequest.UserID getUserID()
Get the 'UserID' element value.

Returns:
value

setUserID

public void setUserID(ReadRQ.ReadRequests.HotelReadRequest.UserID userID)
Set the 'UserID' element value.

Parameters:
userID -

getVerification

public Verification getVerification()
Get the 'Verification' element value. This is to be used for verification that the record being sent is the specific record requested.

Returns:
value

setVerification

public void setVerification(Verification verification)
Set the 'Verification' element value. This is to be used for verification that the record being sent is the specific record requested.

Parameters:
verification -

getSelectionCriteria

public ReadRQ.ReadRequests.HotelReadRequest.SelectionCriteria getSelectionCriteria()
Get the 'SelectionCriteria' element value.

Returns:
value

setSelectionCriteria

public void setSelectionCriteria(ReadRQ.ReadRequests.HotelReadRequest.SelectionCriteria selectionCriteria)
Set the 'SelectionCriteria' element value.

Parameters:
selectionCriteria -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getHotelReferenceGroup

public HotelReferenceGroup getHotelReferenceGroup()
Get the 'HotelReferenceGroup' attributeGroup value. The hotel name, hotel code, and city code for the hotel booked in a reservation.

Returns:
value

setHotelReferenceGroup

public void setHotelReferenceGroup(HotelReferenceGroup hotelReferenceGroup)
Set the 'HotelReferenceGroup' attributeGroup value. The hotel name, hotel code, and city code for the hotel booked in a reservation.

Parameters:
hotelReferenceGroup -