|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.hotel.HotelRatePlan.Supplements.Supplement.RoomCompanions
public static class HotelRatePlan.Supplements.Supplement.RoomCompanions
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 |
---|
public HotelRatePlan.Supplements.Supplement.RoomCompanions()
Method Detail |
---|
public AgeQualifyingGroup getAgeQualifyingGroup()
public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
ageQualifyingGroup
- public java.lang.Integer getMinCompanions()
public void setMinCompanions(java.lang.Integer minCompanions)
minCompanions
- public java.lang.Integer getMaxCompanions()
public void setMaxCompanions(java.lang.Integer maxCompanions)
maxCompanions
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |