org.ota.hotel
Class AdditionalGuestAmount

java.lang.Object
  extended by org.ota.hotel.AdditionalGuestAmount

public class AdditionalGuestAmount
extends java.lang.Object

Charges related to additional guests. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="AdditionalGuestAmountType">
   <xs:sequence>
     <xs:element type="ns:TotalType" name="Amount"/>
     <xs:element type="ns:ParagraphType" name="AddlGuestAmtDescription" minOccurs="0" maxOccurs="9"/>
   </xs:sequence>
   <xs:attribute type="xs:int" name="MaxAdditionalGuests"/>
   <xs:attributeGroup ref="ns:AgeQualifyingGroup"/>
   <xs:attribute type="xs:string" use="optional" name="Type"/>
   <xs:attribute type="xs:float" use="optional" name="Percent"/>
   <xs:attribute type="xs:string" use="optional" name="RPH"/>
 </xs:complexType>
 


Constructor Summary
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.
 Total getAmount()
          Get the 'Amount' element value.
 java.lang.Integer getMaxAdditionalGuests()
          Get the 'MaxAdditionalGuests' attribute value.
 java.lang.Float getPercent()
          Get the 'Percent' attribute value.
 java.lang.String getRPH()
          Get the 'RPH' attribute value.
 java.lang.String getType()
          Get the 'Type' 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 setAmount(Total amount)
          Set the 'Amount' element value.
 void setMaxAdditionalGuests(java.lang.Integer maxAdditionalGuests)
          Set the 'MaxAdditionalGuests' attribute value.
 void setPercent(java.lang.Float percent)
          Set the 'Percent' attribute value.
 void setRPH(java.lang.String RPH)
          Set the 'RPH' attribute value.
 void setType(java.lang.String type)
          Set the 'Type' 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

AdditionalGuestAmount

public AdditionalGuestAmount()
Method Detail

getAmount

public Total getAmount()
Get the 'Amount' element value. The amount charged for an additional guest.

Returns:
value

setAmount

public void setAmount(Total amount)
Set the 'Amount' element value. The amount charged for an additional guest.

Parameters:
amount -

getAddlGuestAmtDescriptions

public java.util.List<Paragraph> getAddlGuestAmtDescriptions()
Get the list of 'AddlGuestAmtDescription' element items. Descriptive information regarding amounts charged for additional guests.

Returns:
list

setAddlGuestAmtDescriptions

public void setAddlGuestAmtDescriptions(java.util.List<Paragraph> list)
Set the list of 'AddlGuestAmtDescription' element items. Descriptive information regarding amounts charged for additional guests.

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.


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 -

getType

public java.lang.String getType()
Get the 'Type' attribute value. A code representing the charges related to additional guests. Refer to OpenTravel Code List Additional Detail Type (ADT). Typically, the 'extra person information' code would be used here.

Returns:
value

setType

public void setType(java.lang.String type)
Set the 'Type' attribute value. A code representing the charges related to additional guests. Refer to OpenTravel Code List Additional Detail Type (ADT). Typically, the 'extra person information' code would be used here.

Parameters:
type -

getPercent

public java.lang.Float getPercent()
Get the 'Percent' attribute value. The percent charged for an additional guest.

Returns:
value

setPercent

public void setPercent(java.lang.Float percent)
Set the 'Percent' attribute value. The percent charged for an additional guest.

Parameters:
percent -

getRPH

public java.lang.String getRPH()
Get the 'RPH' attribute value. An index code to identify an instance in a collection of like items.

Returns:
value

setRPH

public void setRPH(java.lang.String RPH)
Set the 'RPH' attribute value. An index code to identify an instance in a collection of like items.

Parameters:
RPH -