|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.Rate
public class Rate
Individual rate amount. This rate is valid for a range of number of occupants and an occupant type. 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="RateType"> <xs:sequence> <xs:element name="Rate" maxOccurs="unbounded"> <!-- Reference to inner class RateInner --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
Rate.RateInner
The Rate contains a collection of elements that define the amount of the rate, associated fees, additional occupant amounts as well as payment and cancellation policies. |
Constructor Summary | |
---|---|
Rate()
|
Method Summary | |
---|---|
void |
addRate(Rate.RateInner item)
Add a 'Rate' element item. |
void |
clearRates()
Remove all 'Rate' element items. |
Rate.RateInner |
getRate(int index)
Get 'Rate' element item by position. |
java.util.List<Rate.RateInner> |
getRates()
Get the list of 'Rate' element items. |
void |
setRates(java.util.List<Rate.RateInner> 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 Rate()
Method Detail |
---|
public java.util.List<Rate.RateInner> getRates()
public void setRates(java.util.List<Rate.RateInner> list)
list
- public int sizeRates()
public void addRate(Rate.RateInner item)
item
- public Rate.RateInner getRate(int index)
index
-
public void clearRates()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |