|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelRatePlan.Rates
public static class HotelRatePlan.Rates
A collection of Rates. Rates can be sent separately using the HotelRateAmountNotif message or as part of the RatePlanNotif. 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="Rates" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Rate" maxOccurs="unbounded"> <!-- Reference to inner class Rate --> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
HotelRatePlan.Rates.Rate
An individual rate, which is a collection of amounts by guest, additional guests, fees, collection of related guarantee, cancel and payment policies, a description and the unique id to identify the rate. |
Constructor Summary | |
---|---|
HotelRatePlan.Rates()
|
Method Summary | |
---|---|
void |
addRate(HotelRatePlan.Rates.Rate item)
Add a 'Rate' element item. |
void |
clearRates()
Remove all 'Rate' element items. |
HotelRatePlan.Rates.Rate |
getRate(int index)
Get 'Rate' element item by position. |
java.util.List<HotelRatePlan.Rates.Rate> |
getRates()
Get the list of 'Rate' element items. |
void |
setRates(java.util.List<HotelRatePlan.Rates.Rate> list)
Set the list of 'Rate' element items. |
int |
sizeRates()
Get the number of 'Rate' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelRatePlan.Rates()
Method Detail |
---|
public java.util.List<HotelRatePlan.Rates.Rate> getRates()
public void setRates(java.util.List<HotelRatePlan.Rates.Rate> list)
list
- public int sizeRates()
public void addRate(HotelRatePlan.Rates.Rate item)
item
- public HotelRatePlan.Rates.Rate getRate(int index)
index
-
public void clearRates()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |