org.ota.pkg
Class ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile.Prices

java.lang.Object
  extended by org.ota.pkg.ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile.Prices
Enclosing class:
ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile

public static class ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile.Prices
extends java.lang.Object

A collection of room-based passenger-level prices. These will be either actual prices or supplemental charges dependent on the SupplementIndicator attribute. When these are actual prices, they may be by MealPlan (e.g., room prices on HalfBoard arrangement, together with prices on Full Board). 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="Prices" minOccurs="0" maxOccurs="9">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Price" maxOccurs="9">
         <xs:complexType>
           <xs:attributeGroup ref="ns:PriceGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="SupplementIndicator"/>
     <xs:attribute type="xs:string" use="optional" name="MealPlanRPH"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile.Prices()
           
 
Method Summary
 void addPrice(PriceGroup item)
          Add a 'Price' element item.
 void clearPrices()
          Remove all 'Price' element items.
 java.lang.String getMealPlanRPH()
          Get the 'MealPlanRPH' attribute value.
 PriceGroup getPrice(int index)
          Get 'Price' element item by position.
 java.util.List<PriceGroup> getPrices()
          Get the list of 'Price' element items.
 java.lang.Boolean getSupplementIndicator()
          Get the 'SupplementIndicator' attribute value.
 void setMealPlanRPH(java.lang.String mealPlanRPH)
          Set the 'MealPlanRPH' attribute value.
 void setPrices(java.util.List<PriceGroup> list)
          Set the list of 'Price' element items.
 void setSupplementIndicator(java.lang.Boolean supplementIndicator)
          Set the 'SupplementIndicator' attribute value.
 int sizePrices()
          Get the number of 'Price' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile.Prices

public ItineraryItemResponse.Accommodation.RoomProfiles.RoomProfile.Prices()
Method Detail

getPrices

public java.util.List<PriceGroup> getPrices()
Get the list of 'Price' element items. The per- passenger price of a room.

Returns:
list

setPrices

public void setPrices(java.util.List<PriceGroup> list)
Set the list of 'Price' element items. The per- passenger price of a room.

Parameters:
list -

sizePrices

public int sizePrices()
Get the number of 'Price' element items.

Returns:
count

addPrice

public void addPrice(PriceGroup item)
Add a 'Price' element item.

Parameters:
item -

getPrice

public PriceGroup getPrice(int index)
Get 'Price' element item by position.

Parameters:
index -
Returns:
item

clearPrices

public void clearPrices()
Remove all 'Price' element items.


getSupplementIndicator

public java.lang.Boolean getSupplementIndicator()
Get the 'SupplementIndicator' attribute value. When 'true', the Amount value in each Price element is additional to the base price; when 'false', the Amount is a full passenger price.

Returns:
value

setSupplementIndicator

public void setSupplementIndicator(java.lang.Boolean supplementIndicator)
Set the 'SupplementIndicator' attribute value. When 'true', the Amount value in each Price element is additional to the base price; when 'false', the Amount is a full passenger price.

Parameters:
supplementIndicator -

getMealPlanRPH

public java.lang.String getMealPlanRPH()
Get the 'MealPlanRPH' attribute value. Pointer to the MealPlan for which this set of RoomPrices applies - normally used when the SupplementIndicator attribute is 'False'.

Returns:
value

setMealPlanRPH

public void setMealPlanRPH(java.lang.String mealPlanRPH)
Set the 'MealPlanRPH' attribute value. Pointer to the MealPlan for which this set of RoomPrices applies - normally used when the SupplementIndicator attribute is 'False'.

Parameters:
mealPlanRPH -