|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelRatePlan.Offers
public static class HotelRatePlan.Offers
A collection of individual offers. 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="Offers" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="Offer" maxOccurs="99"> <!-- Reference to inner class Offer --> </xs:element> </xs:sequence> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
HotelRatePlan.Offers.Offer
An individual offer, which defines the type of offer, the conditions under which it can be applied and the amounts and/or percentages deducted. |
Constructor Summary | |
---|---|
HotelRatePlan.Offers()
|
Method Summary | |
---|---|
void |
addOffer(HotelRatePlan.Offers.Offer item)
Add a 'Offer' element item. |
void |
clearOffers()
Remove all 'Offer' element items. |
HotelRatePlan.Offers.Offer |
getOffer(int index)
Get 'Offer' element item by position. |
java.util.List<HotelRatePlan.Offers.Offer> |
getOffers()
Get the list of 'Offer' element items. |
void |
setOffers(java.util.List<HotelRatePlan.Offers.Offer> list)
Set the list of 'Offer' element items. |
int |
sizeOffers()
Get the number of 'Offer' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HotelRatePlan.Offers()
Method Detail |
---|
public java.util.List<HotelRatePlan.Offers.Offer> getOffers()
public void setOffers(java.util.List<HotelRatePlan.Offers.Offer> list)
list
- public int sizeOffers()
public void addOffer(HotelRatePlan.Offers.Offer item)
item
- public HotelRatePlan.Offers.Offer getOffer(int index)
index
-
public void clearOffers()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |