org.ota.hotel
Class Amount.AdditionalGuestAmounts

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

public static class Amount.AdditionalGuestAmounts
extends java.lang.Object

A collection of charges that apply to for additional occupants, guests or service users (over and above the rate's MaxGuest Applicable) 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="AdditionalGuestAmounts" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:AdditionalGuestAmountType" name="AdditionalGuestAmount" maxOccurs="unbounded"/>
     </xs:sequence>
     <xs:attribute type="xs:float" use="optional" name="AmountBeforeTax"/>
     <xs:attribute type="xs:float" use="optional" name="AmountAfterTax"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Amount.AdditionalGuestAmounts()
           
 
Method Summary
 void addAdditionalGuestAmount(AdditionalGuestAmount item)
          Add a 'AdditionalGuestAmount' element item.
 void clearAdditionalGuestAmounts()
          Remove all 'AdditionalGuestAmount' element items.
 AdditionalGuestAmount getAdditionalGuestAmount(int index)
          Get 'AdditionalGuestAmount' element item by position.
 java.util.List<AdditionalGuestAmount> getAdditionalGuestAmounts()
          Get the list of 'AdditionalGuestAmount' element items.
 java.lang.Float getAmountAfterTax()
          Get the 'AmountAfterTax' attribute value.
 java.lang.Float getAmountBeforeTax()
          Get the 'AmountBeforeTax' attribute value.
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 void setAdditionalGuestAmounts(java.util.List<AdditionalGuestAmount> list)
          Set the list of 'AdditionalGuestAmount' element items.
 void setAmountAfterTax(java.lang.Float amountAfterTax)
          Set the 'AmountAfterTax' attribute value.
 void setAmountBeforeTax(java.lang.Float amountBeforeTax)
          Set the 'AmountBeforeTax' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 int sizeAdditionalGuestAmounts()
          Get the number of 'AdditionalGuestAmount' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Amount.AdditionalGuestAmounts

public Amount.AdditionalGuestAmounts()
Method Detail

getAdditionalGuestAmounts

public java.util.List<AdditionalGuestAmount> getAdditionalGuestAmounts()
Get the list of 'AdditionalGuestAmount' element items. 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.

Returns:
list

setAdditionalGuestAmounts

public void setAdditionalGuestAmounts(java.util.List<AdditionalGuestAmount> list)
Set the list of 'AdditionalGuestAmount' element items. 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.

Parameters:
list -

sizeAdditionalGuestAmounts

public int sizeAdditionalGuestAmounts()
Get the number of 'AdditionalGuestAmount' element items.

Returns:
count

addAdditionalGuestAmount

public void addAdditionalGuestAmount(AdditionalGuestAmount item)
Add a 'AdditionalGuestAmount' element item.

Parameters:
item -

getAdditionalGuestAmount

public AdditionalGuestAmount getAdditionalGuestAmount(int index)
Get 'AdditionalGuestAmount' element item by position.

Parameters:
index -
Returns:
item

clearAdditionalGuestAmounts

public void clearAdditionalGuestAmounts()
Remove all 'AdditionalGuestAmount' element items.


getAmountBeforeTax

public java.lang.Float getAmountBeforeTax()
Get the 'AmountBeforeTax' attribute value.

Returns:
value

setAmountBeforeTax

public void setAmountBeforeTax(java.lang.Float amountBeforeTax)
Set the 'AmountBeforeTax' attribute value.

Parameters:
amountBeforeTax -

getAmountAfterTax

public java.lang.Float getAmountAfterTax()
Get the 'AmountAfterTax' attribute value.

Returns:
value

setAmountAfterTax

public void setAmountAfterTax(java.lang.Float amountAfterTax)
Set the 'AmountAfterTax' attribute value.

Parameters:
amountAfterTax -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -