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

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

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

A collection of price information for each available room based on an available board terms (meal plan) e.g prices for each room based on Half Board. Schema fragment(s) for this class:

 <xs:element xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RoomPrices" minOccurs="0" maxOccurs="9">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="RoomPriceType" name="RoomPrice" maxOccurs="99">
         <!-- Reference to inner class RoomPrice -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:string" name="MealPlan"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice
          Schema fragment(s) for this class:
 
Constructor Summary
AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices()
           
 
Method Summary
 void addRoomPrice(AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice item)
          Add a 'RoomPrice' element item.
 void clearRoomPrices()
          Remove all 'RoomPrice' element items.
 java.lang.String getMealPlan()
          Get the 'MealPlan' attribute value.
 AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice getRoomPrice(int index)
          Get 'RoomPrice' element item by position.
 java.util.List<AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice> getRoomPrices()
          Get the list of 'RoomPrice' element items.
 void setMealPlan(java.lang.String mealPlan)
          Set the 'MealPlan' attribute value.
 void setRoomPrices(java.util.List<AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice> list)
          Set the list of 'RoomPrice' element items.
 int sizeRoomPrices()
          Get the number of 'RoomPrice' 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

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

getRoomPrices

public java.util.List<AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice> getRoomPrices()
Get the list of 'RoomPrice' element items.

Returns:
list

setRoomPrices

public void setRoomPrices(java.util.List<AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice> list)
Set the list of 'RoomPrice' element items.

Parameters:
list -

sizeRoomPrices

public int sizeRoomPrices()
Get the number of 'RoomPrice' element items.

Returns:
count

addRoomPrice

public void addRoomPrice(AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice item)
Add a 'RoomPrice' element item.

Parameters:
item -

getRoomPrice

public AvailRS.AccommodationChoices.AvailableProperty.FacilityChoices.RoomPrices.RoomPrice getRoomPrice(int index)
Get 'RoomPrice' element item by position.

Parameters:
index -
Returns:
item

clearRoomPrices

public void clearRoomPrices()
Remove all 'RoomPrice' element items.


getMealPlan

public java.lang.String getMealPlan()
Get the 'MealPlan' attribute value. The code for a meal plan e.g. AB- as brochure, AI- all inclusive, BB- bed and breakfast, FB- full board, HB- Half Board, RO- room only,SC- self catering

Returns:
value

setMealPlan

public void setMealPlan(java.lang.String mealPlan)
Set the 'MealPlan' attribute value. The code for a meal plan e.g. AB- as brochure, AI- all inclusive, BB- bed and breakfast, FB- full board, HB- Half Board, RO- room only,SC- self catering

Parameters:
mealPlan -