org.ota.hotel
Class StayInfos.StayInfo

java.lang.Object
  extended by org.ota.hotel.StayInfos.StayInfo
Enclosing class:
StayInfos

public static class StayInfos.StayInfo
extends java.lang.Object

Provides details of a guest's stay. 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" type="ns:StayInfoType" name="StayInfo" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="StayInfoType">
   <xs:sequence>
     <xs:element type="ns:LoyaltyPointsAccrualsType" name="LoyaltyPointsAccruals" minOccurs="0">
       <!-- Reference to inner class LoyaltyPointsAccruals -->
     </xs:element>
     <xs:element type="ns:RevenueCategoriesType" name="RevenueCategories" minOccurs="0">
       <!-- Reference to inner class RevenueCategories -->
     </xs:element>
     <xs:element type="ns:UniqueID_Type" name="ReservationID" minOccurs="0"/>
     <xs:element type="ns:HotelReservationType" name="HotelReservation" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="SequenceNumber"/>
   <xs:attribute type="xs:int" use="optional" name="RoomStayRPH"/>
 </xs:complexType>
 


Nested Class Summary
static class StayInfos.StayInfo.LoyaltyPointsAccruals
          A collection of loyalty points accruals.
static class StayInfos.StayInfo.RevenueCategories
          A collection of RevenueCategory classes that detail the categories of revenue data associated with the StayInfo report.
 
Constructor Summary
StayInfos.StayInfo()
           
 
Method Summary
 HotelReservation getHotelReservation()
          Get the 'HotelReservation' element value.
 StayInfos.StayInfo.LoyaltyPointsAccruals getLoyaltyPointsAccruals()
          Get the 'LoyaltyPointsAccruals' element value.
 UniqueID getReservationID()
          Get the 'ReservationID' element value.
 StayInfos.StayInfo.RevenueCategories getRevenueCategories()
          Get the 'RevenueCategories' element value.
 java.lang.Integer getRoomStayRPH()
          Get the 'RoomStayRPH' attribute value.
 java.lang.String getSequenceNumber()
          Get the 'SequenceNumber' attribute value.
 void setHotelReservation(HotelReservation hotelReservation)
          Set the 'HotelReservation' element value.
 void setLoyaltyPointsAccruals(StayInfos.StayInfo.LoyaltyPointsAccruals loyaltyPointsAccruals)
          Set the 'LoyaltyPointsAccruals' element value.
 void setReservationID(UniqueID reservationID)
          Set the 'ReservationID' element value.
 void setRevenueCategories(StayInfos.StayInfo.RevenueCategories revenueCategories)
          Set the 'RevenueCategories' element value.
 void setRoomStayRPH(java.lang.Integer roomStayRPH)
          Set the 'RoomStayRPH' attribute value.
 void setSequenceNumber(java.lang.String sequenceNumber)
          Set the 'SequenceNumber' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StayInfos.StayInfo

public StayInfos.StayInfo()
Method Detail

getLoyaltyPointsAccruals

public StayInfos.StayInfo.LoyaltyPointsAccruals getLoyaltyPointsAccruals()
Get the 'LoyaltyPointsAccruals' element value. The StayInfo class contains the guest revenue and stay data to be sent to the central server.

Returns:
value

setLoyaltyPointsAccruals

public void setLoyaltyPointsAccruals(StayInfos.StayInfo.LoyaltyPointsAccruals loyaltyPointsAccruals)
Set the 'LoyaltyPointsAccruals' element value. The StayInfo class contains the guest revenue and stay data to be sent to the central server.

Parameters:
loyaltyPointsAccruals -

getRevenueCategories

public StayInfos.StayInfo.RevenueCategories getRevenueCategories()
Get the 'RevenueCategories' element value. The StayInfo class contains the guest revenue and stay data to be sent to the central server.

Returns:
value

setRevenueCategories

public void setRevenueCategories(StayInfos.StayInfo.RevenueCategories revenueCategories)
Set the 'RevenueCategories' element value. The StayInfo class contains the guest revenue and stay data to be sent to the central server.

Parameters:
revenueCategories -

getReservationID

public UniqueID getReservationID()
Get the 'ReservationID' element value. The confirmation number of the reservation associated with the stay.

Returns:
value

setReservationID

public void setReservationID(UniqueID reservationID)
Set the 'ReservationID' element value. The confirmation number of the reservation associated with the stay.

Parameters:
reservationID -

getHotelReservation

public HotelReservation getHotelReservation()
Get the 'HotelReservation' element value. Contains the reservation details associated with the stay information.

Returns:
value

setHotelReservation

public void setHotelReservation(HotelReservation hotelReservation)
Set the 'HotelReservation' element value. Contains the reservation details associated with the stay information.

Parameters:
hotelReservation -

getSequenceNumber

public java.lang.String getSequenceNumber()
Get the 'SequenceNumber' attribute value. Used to sequence the guest revenue blocks of data used to verify transmission.

Returns:
value

setSequenceNumber

public void setSequenceNumber(java.lang.String sequenceNumber)
Set the 'SequenceNumber' attribute value. Used to sequence the guest revenue blocks of data used to verify transmission.

Parameters:
sequenceNumber -

getRoomStayRPH

public java.lang.Integer getRoomStayRPH()
Get the 'RoomStayRPH' attribute value.

Returns:
value

setRoomStayRPH

public void setRoomStayRPH(java.lang.Integer roomStayRPH)
Set the 'RoomStayRPH' attribute value.

Parameters:
roomStayRPH -