org.ota.hotel
Class ResGlobalInfo

java.lang.Object
  extended by org.ota.hotel.ResCommonDetail
      extended by org.ota.hotel.ResGlobalInfo
Direct Known Subclasses:
DynamicPkgGlobalInfo

public class ResGlobalInfo
extends ResCommonDetail

ResGlobalInfo is a container for various information that affects the Reservation as a whole. These include global comments, counts, reservation IDs, loyalty programs, and payment methods. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ResGlobalInfoType">
   <xs:complexContent>
     <xs:extension base="ns:ResCommonDetailType">
       <xs:sequence>
         <xs:element type="ns:HotelReservationIDsType" name="HotelReservationIDs" minOccurs="0"/>
         <xs:element type="ns:RoutingHopType" name="RoutingHops" minOccurs="0"/>
         <xs:element type="ns:ProfilesType" name="Profiles" minOccurs="0"/>
         <xs:element type="ns:BookingRulesType" name="BookingRules" minOccurs="0"/>
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.hotel.ResCommonDetail
ResCommonDetail.TimeSpan
 
Constructor Summary
ResGlobalInfo()
           
 
Method Summary
 BookingRules getBookingRules()
          Get the 'BookingRules' element value.
 HotelReservationIDs getHotelReservationIDs()
          Get the 'HotelReservationIDs' element value.
 Profiles getProfiles()
          Get the 'Profiles' element value.
 RoutingHop getRoutingHops()
          Get the 'RoutingHops' element value.
 void setBookingRules(BookingRules bookingRules)
          Set the 'BookingRules' element value.
 void setHotelReservationIDs(HotelReservationIDs hotelReservationIDs)
          Set the 'HotelReservationIDs' element value.
 void setProfiles(Profiles profiles)
          Set the 'Profiles' element value.
 void setRoutingHops(RoutingHop routingHops)
          Set the 'RoutingHops' element value.
 
Methods inherited from class org.ota.hotel.ResCommonDetail
getCancelPenalties, getComments, getDepositPayments, getFees, getGuarantee, getGuestCounts, getMemberships, getResGuestRPHs, getSpecialRequests, getTimeSpan, getTotal, setCancelPenalties, setComments, setDepositPayments, setFees, setGuarantee, setGuestCounts, setMemberships, setResGuestRPHs, setSpecialRequests, setTimeSpan, setTotal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResGlobalInfo

public ResGlobalInfo()
Method Detail

getHotelReservationIDs

public HotelReservationIDs getHotelReservationIDs()
Get the 'HotelReservationIDs' element value.

Returns:
value

setHotelReservationIDs

public void setHotelReservationIDs(HotelReservationIDs hotelReservationIDs)
Set the 'HotelReservationIDs' element value.

Parameters:
hotelReservationIDs -

getRoutingHops

public RoutingHop getRoutingHops()
Get the 'RoutingHops' element value. A collection of RoutingHop objects. This details the path that the original request or notification traveled.

Returns:
value

setRoutingHops

public void setRoutingHops(RoutingHop routingHops)
Set the 'RoutingHops' element value. A collection of RoutingHop objects. This details the path that the original request or notification traveled.

Parameters:
routingHops -

getProfiles

public Profiles getProfiles()
Get the 'Profiles' element value.

Returns:
value

setProfiles

public void setProfiles(Profiles profiles)
Set the 'Profiles' element value.

Parameters:
profiles -

getBookingRules

public BookingRules getBookingRules()
Get the 'BookingRules' element value. Provides booking rules for the global reservation.

Returns:
value

setBookingRules

public void setBookingRules(BookingRules bookingRules)
Set the 'BookingRules' element value. Provides booking rules for the global reservation.

Parameters:
bookingRules -