|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.hotel.HotelRatePlan.Supplements.Supplement
public static class HotelRatePlan.Supplements.Supplement
Single supplement with conditions of application. 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="Supplement" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="RoomCompanions" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class RoomCompanions -->
</xs:element>
<xs:element name="PrerequisiteInventory" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class PrerequisiteInventory -->
</xs:element>
<xs:element type="ns:ParagraphType" name="Description" minOccurs="0" maxOccurs="5"/>
</xs:sequence>
<xs:attributeGroup ref="ns:AgeQualifyingGroup"/>
<xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
<xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
<xs:attribute use="optional" name="SupplementType">
<xs:simpleType>
<!-- Reference to inner class SupplementInner -->
</xs:simpleType>
</xs:attribute>
<xs:attribute type="xs:string" use="optional" name="ChargeTypeCode"/>
<xs:attribute type="xs:string" use="optional" name="InvCode"/>
<xs:attribute type="xs:string" use="optional" name="InvType"/>
<xs:attribute type="xs:int" use="optional" name="AdditionalGuestNumber"/>
<xs:attribute type="xs:string" use="optional" name="RPH"/>
<xs:attribute type="xs:float" use="optional" name="Percent"/>
<xs:attribute type="xs:boolean" use="optional" name="AddToBasicRateIndicator"/>
<xs:attribute type="xs:boolean" use="optional" name="SingleUseIndicator"/>
<xs:attribute type="xs:boolean" use="optional" name="MandatoryIndicator"/>
</xs:complexType>
</xs:element>
| Nested Class Summary | |
|---|---|
static class |
HotelRatePlan.Supplements.Supplement.PrerequisiteInventory
Defines inventory (e.g. |
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). |
static class |
HotelRatePlan.Supplements.Supplement.SupplementInner
Schema fragment(s) for this class: |
| Constructor Summary | |
|---|---|
HotelRatePlan.Supplements.Supplement()
|
|
| Method Summary | |
|---|---|
void |
addDescription(Paragraph item)
Add a 'Description' element item. |
void |
addPrerequisiteInventory(HotelRatePlan.Supplements.Supplement.PrerequisiteInventory item)
Add a 'PrerequisiteInventory' element item. |
void |
addRoomCompanion(HotelRatePlan.Supplements.Supplement.RoomCompanions item)
Add a 'RoomCompanions' element item. |
void |
clearDescriptions()
Remove all 'Description' element items. |
void |
clearPrerequisiteInventories()
Remove all 'PrerequisiteInventory' element items. |
void |
clearRoomCompanions()
Remove all 'RoomCompanions' element items. |
java.lang.Integer |
getAdditionalGuestNumber()
Get the 'AdditionalGuestNumber' attribute value. |
java.lang.Boolean |
getAddToBasicRateIndicator()
Get the 'AddToBasicRateIndicator' attribute value. |
AgeQualifyingGroup |
getAgeQualifyingGroup()
Get the 'AgeQualifyingGroup' attributeGroup value. |
java.lang.String |
getChargeTypeCode()
Get the 'ChargeTypeCode' attribute value. |
CurrencyAmountGroup |
getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. |
DateTimeSpanGroup |
getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. |
Paragraph |
getDescription(int index)
Get 'Description' element item by position. |
java.util.List<Paragraph> |
getDescriptions()
Get the list of 'Description' element items. |
java.lang.String |
getInv()
Get the 'InvType' attribute value. |
java.lang.String |
getInvCode()
Get the 'InvCode' attribute value. |
java.lang.Boolean |
getMandatoryIndicator()
Get the 'MandatoryIndicator' attribute value. |
java.lang.Float |
getPercent()
Get the 'Percent' attribute value. |
java.util.List<HotelRatePlan.Supplements.Supplement.PrerequisiteInventory> |
getPrerequisiteInventories()
Get the list of 'PrerequisiteInventory' element items. |
HotelRatePlan.Supplements.Supplement.PrerequisiteInventory |
getPrerequisiteInventory(int index)
Get 'PrerequisiteInventory' element item by position. |
HotelRatePlan.Supplements.Supplement.RoomCompanions |
getRoomCompanion(int index)
Get 'RoomCompanions' element item by position. |
java.util.List<HotelRatePlan.Supplements.Supplement.RoomCompanions> |
getRoomCompanions()
Get the list of 'RoomCompanions' element items. |
java.lang.String |
getRPH()
Get the 'RPH' attribute value. |
java.lang.Boolean |
getSingleUseIndicator()
Get the 'SingleUseIndicator' attribute value. |
HotelRatePlan.Supplements.Supplement.SupplementInner |
getSupplement()
Get the 'SupplementType' attribute value. |
void |
setAdditionalGuestNumber(java.lang.Integer additionalGuestNumber)
Set the 'AdditionalGuestNumber' attribute value. |
void |
setAddToBasicRateIndicator(java.lang.Boolean addToBasicRateIndicator)
Set the 'AddToBasicRateIndicator' attribute value. |
void |
setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
Set the 'AgeQualifyingGroup' attributeGroup value. |
void |
setChargeTypeCode(java.lang.String chargeTypeCode)
Set the 'ChargeTypeCode' attribute value. |
void |
setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. |
void |
setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. |
void |
setDescriptions(java.util.List<Paragraph> list)
Set the list of 'Description' element items. |
void |
setInv(java.lang.String inv)
Set the 'InvType' attribute value. |
void |
setInvCode(java.lang.String invCode)
Set the 'InvCode' attribute value. |
void |
setMandatoryIndicator(java.lang.Boolean mandatoryIndicator)
Set the 'MandatoryIndicator' attribute value. |
void |
setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. |
void |
setPrerequisiteInventories(java.util.List<HotelRatePlan.Supplements.Supplement.PrerequisiteInventory> list)
Set the list of 'PrerequisiteInventory' element items. |
void |
setRoomCompanions(java.util.List<HotelRatePlan.Supplements.Supplement.RoomCompanions> list)
Set the list of 'RoomCompanions' element items. |
void |
setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. |
void |
setSingleUseIndicator(java.lang.Boolean singleUseIndicator)
Set the 'SingleUseIndicator' attribute value. |
void |
setSupplement(HotelRatePlan.Supplements.Supplement.SupplementInner supplement)
Set the 'SupplementType' attribute value. |
int |
sizeDescriptions()
Get the number of 'Description' element items. |
int |
sizePrerequisiteInventories()
Get the number of 'PrerequisiteInventory' element items. |
int |
sizeRoomCompanions()
Get the number of 'RoomCompanions' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HotelRatePlan.Supplements.Supplement()
| Method Detail |
|---|
public java.util.List<HotelRatePlan.Supplements.Supplement.RoomCompanions> getRoomCompanions()
public void setRoomCompanions(java.util.List<HotelRatePlan.Supplements.Supplement.RoomCompanions> list)
list - public int sizeRoomCompanions()
public void addRoomCompanion(HotelRatePlan.Supplements.Supplement.RoomCompanions item)
item - public HotelRatePlan.Supplements.Supplement.RoomCompanions getRoomCompanion(int index)
index -
public void clearRoomCompanions()
public java.util.List<HotelRatePlan.Supplements.Supplement.PrerequisiteInventory> getPrerequisiteInventories()
public void setPrerequisiteInventories(java.util.List<HotelRatePlan.Supplements.Supplement.PrerequisiteInventory> list)
list - public int sizePrerequisiteInventories()
public void addPrerequisiteInventory(HotelRatePlan.Supplements.Supplement.PrerequisiteInventory item)
item - public HotelRatePlan.Supplements.Supplement.PrerequisiteInventory getPrerequisiteInventory(int index)
index -
public void clearPrerequisiteInventories()
public java.util.List<Paragraph> getDescriptions()
public void setDescriptions(java.util.List<Paragraph> list)
list - public int sizeDescriptions()
public void addDescription(Paragraph item)
item - public Paragraph getDescription(int index)
index -
public void clearDescriptions()
public AgeQualifyingGroup getAgeQualifyingGroup()
public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
ageQualifyingGroup - public CurrencyAmountGroup getCurrencyAmountGroup()
public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
currencyAmountGroup - public DateTimeSpanGroup getDateTimeSpanGroup()
public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
dateTimeSpanGroup - public HotelRatePlan.Supplements.Supplement.SupplementInner getSupplement()
public void setSupplement(HotelRatePlan.Supplements.Supplement.SupplementInner supplement)
supplement - public java.lang.String getChargeTypeCode()
public void setChargeTypeCode(java.lang.String chargeTypeCode)
chargeTypeCode - public java.lang.String getInvCode()
public void setInvCode(java.lang.String invCode)
invCode - public java.lang.String getInv()
public void setInv(java.lang.String inv)
inv - public java.lang.Integer getAdditionalGuestNumber()
public void setAdditionalGuestNumber(java.lang.Integer additionalGuestNumber)
additionalGuestNumber - public java.lang.String getRPH()
public void setRPH(java.lang.String RPH)
RPH - public java.lang.Float getPercent()
public void setPercent(java.lang.Float percent)
percent - public java.lang.Boolean getAddToBasicRateIndicator()
public void setAddToBasicRateIndicator(java.lang.Boolean addToBasicRateIndicator)
addToBasicRateIndicator - public java.lang.Boolean getSingleUseIndicator()
public void setSingleUseIndicator(java.lang.Boolean singleUseIndicator)
singleUseIndicator - public java.lang.Boolean getMandatoryIndicator()
public void setMandatoryIndicator(java.lang.Boolean mandatoryIndicator)
mandatoryIndicator -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||