|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.RoomStay.RatePlans
public static class RoomStay.RatePlans
A collection of Rate Plans associated with a particular Room Stay.The rate plan element is used to contain all the rate information for a single Rate Plan Code (ex RACK) for a given date range. A given Rate Plan may have variable rates, over the effective period of the Rate Plan, this is represented by the child element Rates. 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="RatePlans" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element type="ns:RatePlanType" name="RatePlan" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element>
Constructor Summary | |
---|---|
RoomStay.RatePlans()
|
Method Summary | |
---|---|
void |
addRatePlan(RatePlan item)
Add a 'RatePlan' element item. |
void |
clearRatePlans()
Remove all 'RatePlan' element items. |
RatePlan |
getRatePlan(int index)
Get 'RatePlan' element item by position. |
java.util.List<RatePlan> |
getRatePlans()
Get the list of 'RatePlan' element items. |
void |
setRatePlans(java.util.List<RatePlan> list)
Set the list of 'RatePlan' element items. |
int |
sizeRatePlans()
Get the number of 'RatePlan' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoomStay.RatePlans()
Method Detail |
---|
public java.util.List<RatePlan> getRatePlans()
public void setRatePlans(java.util.List<RatePlan> list)
list
- public int sizeRatePlans()
public void addRatePlan(RatePlan item)
item
- public RatePlan getRatePlan(int index)
index
-
public void clearRatePlans()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |