org.ota.hotel
Class HotelRatePlan.Supplements.Supplement.RoomCompanions

java.lang.Object
  extended by org.ota.hotel.HotelRatePlan.Supplements.Supplement.RoomCompanions
Enclosing class:
HotelRatePlan.Supplements.Supplement

public static class HotelRatePlan.Supplements.Supplement.RoomCompanions
extends java.lang.Object

Defines the required type and number of companions in the room in order for this supplement to apply (e.g., one adult required for a child supplement to apply). 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="RoomCompanions" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attributeGroup ref="ns:AgeQualifyingGroup"/>
     <xs:attribute type="xs:int" use="optional" name="MinCompanions"/>
     <xs:attribute type="xs:int" use="optional" name="MaxCompanions"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
HotelRatePlan.Supplements.Supplement.RoomCompanions()
           
 
Method Summary
 AgeQualifyingGroup getAgeQualifyingGroup()
          Get the 'AgeQualifyingGroup' attributeGroup value.
 java.lang.Integer getMaxCompanions()
          Get the 'MaxCompanions' attribute value.
 java.lang.Integer getMinCompanions()
          Get the 'MinCompanions' attribute value.
 void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
          Set the 'AgeQualifyingGroup' attributeGroup value.
 void setMaxCompanions(java.lang.Integer maxCompanions)
          Set the 'MaxCompanions' attribute value.
 void setMinCompanions(java.lang.Integer minCompanions)
          Set the 'MinCompanions' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HotelRatePlan.Supplements.Supplement.RoomCompanions

public HotelRatePlan.Supplements.Supplement.RoomCompanions()
Method Detail

getAgeQualifyingGroup

public AgeQualifyingGroup getAgeQualifyingGroup()
Get the 'AgeQualifyingGroup' attributeGroup value. Defines the ages of the guests that may stay in the room.

Returns:
value

setAgeQualifyingGroup

public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
Set the 'AgeQualifyingGroup' attributeGroup value. Defines the ages of the guests that may stay in the room.

Parameters:
ageQualifyingGroup -

getMinCompanions

public java.lang.Integer getMinCompanions()
Get the 'MinCompanions' attribute value. The minimum number of guests of the specified age group required in the room in order to apply this supplement.

Returns:
value

setMinCompanions

public void setMinCompanions(java.lang.Integer minCompanions)
Set the 'MinCompanions' attribute value. The minimum number of guests of the specified age group required in the room in order to apply this supplement.

Parameters:
minCompanions -

getMaxCompanions

public java.lang.Integer getMaxCompanions()
Get the 'MaxCompanions' attribute value. The maximum number of guests of the specified age group permitted in the room in order to apply this supplement.

Returns:
value

setMaxCompanions

public void setMaxCompanions(java.lang.Integer maxCompanions)
Set the 'MaxCompanions' attribute value. The maximum number of guests of the specified age group permitted in the room in order to apply this supplement.

Parameters:
maxCompanions -