|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.RoomStay.RoomRates
public static class RoomStay.RoomRates
A collection of Room Rates associated with a particular Room Stay. Each Room Rate combination can have multiple rates. Example King room, Rack rate plan, Monday through Thursday, weekday amount, Friday and Saturday, weekend amount.The combination of a given Rate Plan and Room Type. This allows for support for systems where Rate Plans are child of Room Type as well as systems which Room Types are child of Rate Plans. 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="RoomRates" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="RoomRate" maxOccurs="unbounded"> <!-- Reference to inner class RoomRate --> </xs:element> </xs:sequence> <xs:attribute type="xs:boolean" use="optional" name="MoreRatesExistInd"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
RoomStay.RoomRates.RoomRate
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
RoomStay.RoomRates()
|
Method Summary | |
---|---|
void |
addRoomRate(RoomStay.RoomRates.RoomRate item)
Add a 'RoomRate' element item. |
void |
clearRoomRates()
Remove all 'RoomRate' element items. |
java.lang.Boolean |
getMoreRatesExistInd()
Get the 'MoreRatesExistInd' attribute value. |
RoomStay.RoomRates.RoomRate |
getRoomRate(int index)
Get 'RoomRate' element item by position. |
java.util.List<RoomStay.RoomRates.RoomRate> |
getRoomRates()
Get the list of 'RoomRate' element items. |
void |
setMoreRatesExistInd(java.lang.Boolean moreRatesExistInd)
Set the 'MoreRatesExistInd' attribute value. |
void |
setRoomRates(java.util.List<RoomStay.RoomRates.RoomRate> list)
Set the list of 'RoomRate' element items. |
int |
sizeRoomRates()
Get the number of 'RoomRate' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoomStay.RoomRates()
Method Detail |
---|
public java.util.List<RoomStay.RoomRates.RoomRate> getRoomRates()
public void setRoomRates(java.util.List<RoomStay.RoomRates.RoomRate> list)
list
- public int sizeRoomRates()
public void addRoomRate(RoomStay.RoomRates.RoomRate item)
item
- public RoomStay.RoomRates.RoomRate getRoomRate(int index)
index
-
public void clearRoomRates()
public java.lang.Boolean getMoreRatesExistInd()
public void setMoreRatesExistInd(java.lang.Boolean moreRatesExistInd)
moreRatesExistInd
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |