|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.SellableProducts.SellableProduct.GuestRoom
public static class SellableProducts.SellableProduct.GuestRoom
Guest room information if this sellable product is a guest room. 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" type="ns:GuestRoomType" name="GuestRoom"/> <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="GuestRoomType"> <xs:sequence> <xs:element name="Quantities" minOccurs="0"> <!-- Reference to inner class Quantities --> </xs:element> <xs:element name="Occupancy" minOccurs="0" maxOccurs="5"> <!-- Reference to inner class Occupancy --> </xs:element> <xs:element name="Room" minOccurs="0"> <xs:complexType> <xs:attributeGroup ref="ns:RoomGroup"/> </xs:complexType> </xs:element> <xs:element name="Amenities" minOccurs="0"> <!-- Reference to inner class Amenities --> </xs:element> <xs:element name="RoomLevelFees" minOccurs="0"> <!-- Reference to inner class RoomLevelFees --> </xs:element> <xs:element type="ns:AdditionalGuestAmountType" name="AdditionalGuestAmount" minOccurs="0" maxOccurs="5"/> <xs:element type="ns:ParagraphType" name="Description" minOccurs="0"/> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
SellableProducts.SellableProduct.GuestRoom.Amenities
Collection of room level amenities. |
static class |
SellableProducts.SellableProduct.GuestRoom.Occupancy
Provides parameters of occupancy limits. |
static class |
SellableProducts.SellableProduct.GuestRoom.Quantities
Max rollaways, number of beds Schema fragment(s) for this class: |
static class |
SellableProducts.SellableProduct.GuestRoom.RoomLevelFees
Collection of fees charged at the room level. |
Constructor Summary | |
---|---|
SellableProducts.SellableProduct.GuestRoom()
|
Method Summary | |
---|---|
void |
addAdditionalGuestAmount(AdditionalGuestAmount item)
Add a 'AdditionalGuestAmount' element item. |
void |
addOccupancy(SellableProducts.SellableProduct.GuestRoom.Occupancy item)
Add a 'Occupancy' element item. |
void |
clearAdditionalGuestAmounts()
Remove all 'AdditionalGuestAmount' element items. |
void |
clearOccupancies()
Remove all 'Occupancy' element items. |
AdditionalGuestAmount |
getAdditionalGuestAmount(int index)
Get 'AdditionalGuestAmount' element item by position. |
java.util.List<AdditionalGuestAmount> |
getAdditionalGuestAmounts()
Get the list of 'AdditionalGuestAmount' element items. |
SellableProducts.SellableProduct.GuestRoom.Amenities |
getAmenities()
Get the 'Amenities' element value. |
Paragraph |
getDescription()
Get the 'Description' element value. |
java.util.List<SellableProducts.SellableProduct.GuestRoom.Occupancy> |
getOccupancies()
Get the list of 'Occupancy' element items. |
SellableProducts.SellableProduct.GuestRoom.Occupancy |
getOccupancy(int index)
Get 'Occupancy' element item by position. |
SellableProducts.SellableProduct.GuestRoom.Quantities |
getQuantities()
Get the 'Quantities' element value. |
RoomGroup |
getRoom()
Get the 'RoomGroup' attributeGroup value. |
SellableProducts.SellableProduct.GuestRoom.RoomLevelFees |
getRoomLevelFees()
Get the 'RoomLevelFees' element value. |
void |
setAdditionalGuestAmounts(java.util.List<AdditionalGuestAmount> list)
Set the list of 'AdditionalGuestAmount' element items. |
void |
setAmenities(SellableProducts.SellableProduct.GuestRoom.Amenities amenities)
Set the 'Amenities' element value. |
void |
setDescription(Paragraph description)
Set the 'Description' element value. |
void |
setOccupancies(java.util.List<SellableProducts.SellableProduct.GuestRoom.Occupancy> list)
Set the list of 'Occupancy' element items. |
void |
setQuantities(SellableProducts.SellableProduct.GuestRoom.Quantities quantities)
Set the 'Quantities' element value. |
void |
setRoom(RoomGroup room)
Set the 'RoomGroup' attributeGroup value. |
void |
setRoomLevelFees(SellableProducts.SellableProduct.GuestRoom.RoomLevelFees roomLevelFees)
Set the 'RoomLevelFees' element value. |
int |
sizeAdditionalGuestAmounts()
Get the number of 'AdditionalGuestAmount' element items. |
int |
sizeOccupancies()
Get the number of 'Occupancy' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SellableProducts.SellableProduct.GuestRoom()
Method Detail |
---|
public SellableProducts.SellableProduct.GuestRoom.Quantities getQuantities()
public void setQuantities(SellableProducts.SellableProduct.GuestRoom.Quantities quantities)
quantities
- public java.util.List<SellableProducts.SellableProduct.GuestRoom.Occupancy> getOccupancies()
public void setOccupancies(java.util.List<SellableProducts.SellableProduct.GuestRoom.Occupancy> list)
list
- public int sizeOccupancies()
public void addOccupancy(SellableProducts.SellableProduct.GuestRoom.Occupancy item)
item
- public SellableProducts.SellableProduct.GuestRoom.Occupancy getOccupancy(int index)
index
-
public void clearOccupancies()
public RoomGroup getRoom()
public void setRoom(RoomGroup room)
room
- public SellableProducts.SellableProduct.GuestRoom.Amenities getAmenities()
public void setAmenities(SellableProducts.SellableProduct.GuestRoom.Amenities amenities)
amenities
- public SellableProducts.SellableProduct.GuestRoom.RoomLevelFees getRoomLevelFees()
public void setRoomLevelFees(SellableProducts.SellableProduct.GuestRoom.RoomLevelFees roomLevelFees)
roomLevelFees
- public java.util.List<AdditionalGuestAmount> getAdditionalGuestAmounts()
public void setAdditionalGuestAmounts(java.util.List<AdditionalGuestAmount> list)
list
- public int sizeAdditionalGuestAmounts()
public void addAdditionalGuestAmount(AdditionalGuestAmount item)
item
- public AdditionalGuestAmount getAdditionalGuestAmount(int index)
index
-
public void clearAdditionalGuestAmounts()
public Paragraph getDescription()
public void setDescription(Paragraph description)
description
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |