org.ota.hotel
Class HotelReservation.RoomStays.RoomStay

java.lang.Object
  extended by org.ota.hotel.RoomStay
      extended by org.ota.hotel.HotelReservation.RoomStays.RoomStay
Enclosing class:
HotelReservation.RoomStays

public static class HotelReservation.RoomStays.RoomStay
extends RoomStay

Details on the Room Stay including Guest Counts, Time Span of this Room Stay, pointers to Res Guests, guest Memberships, Comments and Special Requests pertaining to this particular Room Stay and finally finacial information related to the Room Stay, including Guarantee, Deposit and Payment and Cancellation Penalties. A collection of reference place holders. This is a reference placeholder, used as an index for the reservation guests. A collection of Hotel Service reference placeholders. 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="RoomStay" maxOccurs="unbounded">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:RoomStayType">
         <xs:sequence>
           <xs:element type="ns:ResGuestRPHsType" name="ResGuestRPHs" minOccurs="0"/>
           <xs:element type="ns:MembershipType" name="Memberships" minOccurs="0"/>
           <xs:element type="ns:CommentType" name="Comments" minOccurs="0"/>
           <xs:element type="ns:SpecialRequestType" name="SpecialRequests" minOccurs="0"/>
           <xs:element type="ns:ServiceRPHsType" name="ServiceRPHs" minOccurs="0"/>
           <xs:element name="Reference" minOccurs="0">
             <!-- Reference to inner class Reference -->
           </xs:element>
           <xs:element type="ns:BookingRulesType" name="BookingRules" minOccurs="0"/>
         </xs:sequence>
         <xs:attribute type="xs:int" use="optional" name="IndexNumber"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class HotelReservation.RoomStays.RoomStay.Reference
          Information identifying an earlier availability quote.
 
Nested classes/interfaces inherited from class org.ota.hotel.RoomStay
RoomStay.RatePlans, RoomStay.RoomRates, RoomStay.RoomTypes
 
Constructor Summary
HotelReservation.RoomStays.RoomStay()
           
 
Method Summary
 BookingRules getBookingRules()
          Get the 'BookingRules' element value.
 Comment getComments()
          Get the 'Comments' element value.
 java.lang.Integer getIndexNumber()
          Get the 'IndexNumber' attribute value.
 Membership getMemberships()
          Get the 'Memberships' element value.
 HotelReservation.RoomStays.RoomStay.Reference getReference()
          Get the 'Reference' element value.
 ResGuestRPHs getResGuestRPHs()
          Get the 'ResGuestRPHs' element value.
 ServiceRPHs getServiceRPHs()
          Get the 'ServiceRPHs' element value.
 SpecialRequest getSpecialRequests()
          Get the 'SpecialRequests' element value.
 void setBookingRules(BookingRules bookingRules)
          Set the 'BookingRules' element value.
 void setComments(Comment comments)
          Set the 'Comments' element value.
 void setIndexNumber(java.lang.Integer indexNumber)
          Set the 'IndexNumber' attribute value.
 void setMemberships(Membership memberships)
          Set the 'Memberships' element value.
 void setReference(HotelReservation.RoomStays.RoomStay.Reference reference)
          Set the 'Reference' element value.
 void setResGuestRPHs(ResGuestRPHs resGuestRPHs)
          Set the 'ResGuestRPHs' element value.
 void setServiceRPHs(ServiceRPHs serviceRPHs)
          Set the 'ServiceRPHs' element value.
 void setSpecialRequests(SpecialRequest specialRequests)
          Set the 'SpecialRequests' element value.
 
Methods inherited from class org.ota.hotel.RoomStay
addGuarantee, clearGuarantees, getBasicPropertyInfo, getCancelPenalties, getDepositPayments, getDiscount, getDiscountCode, getGuarantee, getGuarantees, getGuestCounts, getMarketCode, getPromotionCodeGroup, getRatePlans, getRoomRates, getRoomStayStatus, getRoomTypes, getSourceOfBusiness, getTimeSpan, getTotal, getTPAExtensions, getWarningRPH, setBasicPropertyInfo, setCancelPenalties, setDepositPayments, setDiscount, setDiscountCode, setGuarantees, setGuestCounts, setMarketCode, setPromotionCodeGroup, setRatePlans, setRoomRates, setRoomStayStatus, setRoomTypes, setSourceOfBusiness, setTimeSpan, setTotal, setTPAExtensions, setWarningRPH, sizeGuarantees
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelReservation.RoomStays.RoomStay

public HotelReservation.RoomStays.RoomStay()
Method Detail

getResGuestRPHs

public ResGuestRPHs getResGuestRPHs()
Get the 'ResGuestRPHs' element value.

Returns:
value

setResGuestRPHs

public void setResGuestRPHs(ResGuestRPHs resGuestRPHs)
Set the 'ResGuestRPHs' element value.

Parameters:
resGuestRPHs -

getMemberships

public Membership getMemberships()
Get the 'Memberships' element value. A collection of Membership objects. Memberships provides a list of reward programs which may be credited with points accrued from the guest's activity.

Returns:
value

setMemberships

public void setMemberships(Membership memberships)
Set the 'Memberships' element value. A collection of Membership objects. Memberships provides a list of reward programs which may be credited with points accrued from the guest's activity.

Parameters:
memberships -

getComments

public Comment getComments()
Get the 'Comments' element value. A collection of Comment objects. Comments which apply to the whole Reservation or a particular Room Stay or Service.

Returns:
value

setComments

public void setComments(Comment comments)
Set the 'Comments' element value. A collection of Comment objects. Comments which apply to the whole Reservation or a particular Room Stay or Service.

Parameters:
comments -

getSpecialRequests

public SpecialRequest getSpecialRequests()
Get the 'SpecialRequests' element value. The SpecialRequest object indicates special requests for the whole Reservation, or a particular Room Stay or Service.

Returns:
value

setSpecialRequests

public void setSpecialRequests(SpecialRequest specialRequests)
Set the 'SpecialRequests' element value. The SpecialRequest object indicates special requests for the whole Reservation, or a particular Room Stay or Service.

Parameters:
specialRequests -

getServiceRPHs

public ServiceRPHs getServiceRPHs()
Get the 'ServiceRPHs' element value.

Returns:
value

setServiceRPHs

public void setServiceRPHs(ServiceRPHs serviceRPHs)
Set the 'ServiceRPHs' element value.

Parameters:
serviceRPHs -

getReference

public HotelReservation.RoomStays.RoomStay.Reference getReference()
Get the 'Reference' element value.

Returns:
value

setReference

public void setReference(HotelReservation.RoomStays.RoomStay.Reference reference)
Set the 'Reference' element value.

Parameters:
reference -

getBookingRules

public BookingRules getBookingRules()
Get the 'BookingRules' element value. Provides booking rule information for the room stay.

Returns:
value

setBookingRules

public void setBookingRules(BookingRules bookingRules)
Set the 'BookingRules' element value. Provides booking rule information for the room stay.

Parameters:
bookingRules -

getIndexNumber

public java.lang.Integer getIndexNumber()
Get the 'IndexNumber' attribute value. A unique number (e.g. segment number or index number) used to further identify a booked item within a list of booked items.

Returns:
value

setIndexNumber

public void setIndexNumber(java.lang.Integer indexNumber)
Set the 'IndexNumber' attribute value. A unique number (e.g. segment number or index number) used to further identify a booked item within a list of booked items.

Parameters:
indexNumber -