org.ota.pkg
Class AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice

java.lang.Object
  extended by org.ota.pkg.AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice
Enclosing class:
AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices

public static class AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice
extends java.lang.Object

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:RoomPriceType" name="RoomPrice" maxOccurs="99"/>
 
 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomPriceType">
   <xs:sequence>
     <xs:element type="ns:GuestCountType" name="GuestCounts" minOccurs="0" maxOccurs="5"/>
     <xs:element type="ns:CostingItemType" name="ItemPrice" minOccurs="0" maxOccurs="5"/>
     <xs:element name="ProfilePrice" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="RoomRPH"/>
   <xs:attribute type="xs:string" use="optional" name="Code"/>
 </xs:complexType>
 


Constructor Summary
AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice()
           
 
Method Summary
 void addGuestCount(GuestCount item)
          Add a 'GuestCounts' element item.
 void addItemPrice(CostingItem item)
          Add a 'ItemPrice' element item.
 void clearGuestCounts()
          Remove all 'GuestCounts' element items.
 void clearItemPrices()
          Remove all 'ItemPrice' element items.
 java.lang.String getCode()
          Get the 'Code' attribute value.
 GuestCount getGuestCount(int index)
          Get 'GuestCounts' element item by position.
 java.util.List<GuestCount> getGuestCounts()
          Get the list of 'GuestCounts' element items.
 CostingItem getItemPrice(int index)
          Get 'ItemPrice' element item by position.
 java.util.List<CostingItem> getItemPrices()
          Get the list of 'ItemPrice' element items.
 CurrencyAmountGroup getProfilePrice()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.String getRoomRPH()
          Get the 'RoomRPH' attribute value.
 void setCode(java.lang.String code)
          Set the 'Code' attribute value.
 void setGuestCounts(java.util.List<GuestCount> list)
          Set the list of 'GuestCounts' element items.
 void setItemPrices(java.util.List<CostingItem> list)
          Set the list of 'ItemPrice' element items.
 void setProfilePrice(CurrencyAmountGroup profilePrice)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setRoomRPH(java.lang.String roomRPH)
          Set the 'RoomRPH' attribute value.
 int sizeGuestCounts()
          Get the number of 'GuestCounts' element items.
 int sizeItemPrices()
          Get the number of 'ItemPrice' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice

public AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice()
Method Detail

getGuestCounts

public java.util.List<GuestCount> getGuestCounts()
Get the list of 'GuestCounts' element items. A collection of GuestCount by age group.

Returns:
list

setGuestCounts

public void setGuestCounts(java.util.List<GuestCount> list)
Set the list of 'GuestCounts' element items. A collection of GuestCount by age group.

Parameters:
list -

sizeGuestCounts

public int sizeGuestCounts()
Get the number of 'GuestCounts' element items.

Returns:
count

addGuestCount

public void addGuestCount(GuestCount item)
Add a 'GuestCounts' element item.

Parameters:
item -

getGuestCount

public GuestCount getGuestCount(int index)
Get 'GuestCounts' element item by position.

Parameters:
index -
Returns:
item

clearGuestCounts

public void clearGuestCounts()
Remove all 'GuestCounts' element items.


getItemPrices

public java.util.List<CostingItem> getItemPrices()
Get the list of 'ItemPrice' element items. Price for a traveler type in the room.

Returns:
list

setItemPrices

public void setItemPrices(java.util.List<CostingItem> list)
Set the list of 'ItemPrice' element items. Price for a traveler type in the room.

Parameters:
list -

sizeItemPrices

public int sizeItemPrices()
Get the number of 'ItemPrice' element items.

Returns:
count

addItemPrice

public void addItemPrice(CostingItem item)
Add a 'ItemPrice' element item.

Parameters:
item -

getItemPrice

public CostingItem getItemPrice(int index)
Get 'ItemPrice' element item by position.

Parameters:
index -
Returns:
item

clearItemPrices

public void clearItemPrices()
Remove all 'ItemPrice' element items.


getProfilePrice

public CurrencyAmountGroup getProfilePrice()
Get the 'CurrencyAmountGroup' attributeGroup value. Total price for this room.

Returns:
value

setProfilePrice

public void setProfilePrice(CurrencyAmountGroup profilePrice)
Set the 'CurrencyAmountGroup' attributeGroup value. Total price for this room.

Parameters:
profilePrice -

getRoomRPH

public java.lang.String getRoomRPH()
Get the 'RoomRPH' attribute value. Used to associate a room price with a specific room.

Returns:
value

setRoomRPH

public void setRoomRPH(java.lang.String roomRPH)
Set the 'RoomRPH' attribute value. Used to associate a room price with a specific room.

Parameters:
roomRPH -

getCode

public java.lang.String getCode()
Get the 'Code' attribute value. A code to identify a room.

Returns:
value

setCode

public void setCode(java.lang.String code)
Set the 'Code' attribute value. A code to identify a room.

Parameters:
code -