org.ota.hotel
Class RateUpload.AdditionalGuestAmounts.AdditionalGuestAmount

java.lang.Object
  extended by org.ota.hotel.RateUpload.AdditionalGuestAmounts.AdditionalGuestAmount
Enclosing class:
RateUpload.AdditionalGuestAmounts

public static class RateUpload.AdditionalGuestAmounts.AdditionalGuestAmount
extends java.lang.Object

Collection of incremental charges per age qualifying code for additional guests. Amount charged for additional occupant is with respect to age group of the base guests. 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="AdditionalGuestAmount" maxOccurs="unbounded">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:TaxesType" name="Taxes" minOccurs="0"/>
       <xs:element type="ns:ParagraphType" name="AddlGuestAmtDescription" minOccurs="0" maxOccurs="9"/>
     </xs:sequence>
     <xs:attribute type="xs:boolean" use="optional" name="TaxInclusive"/>
     <xs:attribute type="xs:int" use="optional" name="MaxAdditionalGuests"/>
     <xs:attributeGroup ref="ns:AgeQualifyingGroup"/>
     <xs:attributeGroup ref="ns:FeeTaxGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
RateUpload.AdditionalGuestAmounts.AdditionalGuestAmount()
           
 
Method Summary
 void addAddlGuestAmtDescription(Paragraph item)
          Add a 'AddlGuestAmtDescription' element item.
 void clearAddlGuestAmtDescriptions()
          Remove all 'AddlGuestAmtDescription' element items.
 Paragraph getAddlGuestAmtDescription(int index)
          Get 'AddlGuestAmtDescription' element item by position.
 java.util.List<Paragraph> getAddlGuestAmtDescriptions()
          Get the list of 'AddlGuestAmtDescription' element items.
 AgeQualifyingGroup getAgeQualifyingGroup()
          Get the 'AgeQualifyingGroup' attributeGroup value.
 FeeTaxGroup getFeeTaxGroup()
          Get the 'FeeTaxGroup' attributeGroup value.
 java.lang.Integer getMaxAdditionalGuests()
          Get the 'MaxAdditionalGuests' attribute value.
 Taxes getTaxes()
          Get the 'Taxes' element value.
 java.lang.Boolean getTaxInclusive()
          Get the 'TaxInclusive' attribute value.
 void setAddlGuestAmtDescriptions(java.util.List<Paragraph> list)
          Set the list of 'AddlGuestAmtDescription' element items.
 void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
          Set the 'AgeQualifyingGroup' attributeGroup value.
 void setFeeTaxGroup(FeeTaxGroup feeTaxGroup)
          Set the 'FeeTaxGroup' attributeGroup value.
 void setMaxAdditionalGuests(java.lang.Integer maxAdditionalGuests)
          Set the 'MaxAdditionalGuests' attribute value.
 void setTaxes(Taxes taxes)
          Set the 'Taxes' element value.
 void setTaxInclusive(java.lang.Boolean taxInclusive)
          Set the 'TaxInclusive' attribute value.
 int sizeAddlGuestAmtDescriptions()
          Get the number of 'AddlGuestAmtDescription' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateUpload.AdditionalGuestAmounts.AdditionalGuestAmount

public RateUpload.AdditionalGuestAmounts.AdditionalGuestAmount()
Method Detail

getTaxes

public Taxes getTaxes()
Get the 'Taxes' element value.

Returns:
value

setTaxes

public void setTaxes(Taxes taxes)
Set the 'Taxes' element value.

Parameters:
taxes -

getAddlGuestAmtDescriptions

public java.util.List<Paragraph> getAddlGuestAmtDescriptions()
Get the list of 'AddlGuestAmtDescription' element items. Text description of the AdditionalGuestAmount in a given language.

Returns:
list

setAddlGuestAmtDescriptions

public void setAddlGuestAmtDescriptions(java.util.List<Paragraph> list)
Set the list of 'AddlGuestAmtDescription' element items. Text description of the AdditionalGuestAmount in a given language.

Parameters:
list -

sizeAddlGuestAmtDescriptions

public int sizeAddlGuestAmtDescriptions()
Get the number of 'AddlGuestAmtDescription' element items.

Returns:
count

addAddlGuestAmtDescription

public void addAddlGuestAmtDescription(Paragraph item)
Add a 'AddlGuestAmtDescription' element item.

Parameters:
item -

getAddlGuestAmtDescription

public Paragraph getAddlGuestAmtDescription(int index)
Get 'AddlGuestAmtDescription' element item by position.

Parameters:
index -
Returns:
item

clearAddlGuestAmtDescriptions

public void clearAddlGuestAmtDescriptions()
Remove all 'AddlGuestAmtDescription' element items.


getTaxInclusive

public java.lang.Boolean getTaxInclusive()
Get the 'TaxInclusive' attribute value. Indicates whether taxes are included when figuring the additional occupant amounts.

Returns:
value

setTaxInclusive

public void setTaxInclusive(java.lang.Boolean taxInclusive)
Set the 'TaxInclusive' attribute value. Indicates whether taxes are included when figuring the additional occupant amounts.

Parameters:
taxInclusive -

getMaxAdditionalGuests

public java.lang.Integer getMaxAdditionalGuests()
Get the 'MaxAdditionalGuests' attribute value. Increase the base rate by the additional occupant amount for each additional occupant of the same age group up to this maximum number of occupants of this age group.

Returns:
value

setMaxAdditionalGuests

public void setMaxAdditionalGuests(java.lang.Integer maxAdditionalGuests)
Set the 'MaxAdditionalGuests' attribute value. Increase the base rate by the additional occupant amount for each additional occupant of the same age group up to this maximum number of occupants of this age group.

Parameters:
maxAdditionalGuests -

getAgeQualifyingGroup

public AgeQualifyingGroup getAgeQualifyingGroup()
Get the 'AgeQualifyingGroup' attributeGroup value.

Returns:
value

setAgeQualifyingGroup

public void setAgeQualifyingGroup(AgeQualifyingGroup ageQualifyingGroup)
Set the 'AgeQualifyingGroup' attributeGroup value.

Parameters:
ageQualifyingGroup -

getFeeTaxGroup

public FeeTaxGroup getFeeTaxGroup()
Get the 'FeeTaxGroup' attributeGroup value.

Returns:
value

setFeeTaxGroup

public void setFeeTaxGroup(FeeTaxGroup feeTaxGroup)
Set the 'FeeTaxGroup' attributeGroup value.

Parameters:
feeTaxGroup -