org.ota.pkg
Class Extras

java.lang.Object
  extended by org.ota.pkg.ExtrasCore
      extended by org.ota.pkg.Extras

public class Extras
extends ExtrasCore

Requests an optional service which is not included in the standard package but may be booked in addition. 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="ExtrasType">
   <xs:complexContent>
     <xs:extension base="ns:ExtrasCoreType">
       <xs:sequence>
         <xs:element type="ns:DateTimeSpanType" name="Date" minOccurs="0"/>
         <xs:element type="ns:CustomerCountsType" name="PassengerCounts" minOccurs="0"/>
         <xs:element type="xs:string" name="AdditionalInfo" minOccurs="0"/>
       </xs:sequence>
       <xs:attribute type="xs:string" use="optional" name="ListOfPassengerRPH"/>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
 


Constructor Summary
Extras()
           
 
Method Summary
 java.lang.String getAdditionalInfo()
          Get the 'AdditionalInfo' element value.
 DateTimeSpan getDate()
          Get the 'Date' element value.
 java.lang.String getListOfPassengerRPH()
          Get the 'ListOfPassengerRPH' attribute value.
 CustomerCounts getPassengerCounts()
          Get the 'PassengerCounts' element value.
 void setAdditionalInfo(java.lang.String additionalInfo)
          Set the 'AdditionalInfo' element value.
 void setDate(DateTimeSpan date)
          Set the 'Date' element value.
 void setListOfPassengerRPH(java.lang.String listOfPassengerRPH)
          Set the 'ListOfPassengerRPH' attribute value.
 void setPassengerCounts(CustomerCounts passengerCounts)
          Set the 'PassengerCounts' element value.
 
Methods inherited from class org.ota.pkg.ExtrasCore
addSubCategory, clearSubCategories, getCode, getGroupCode, getListOfInventoryItemRPH, getListofRoomRPH, getName, getQuantity, getRPH, getSubCategories, getSubCategory, getType, setCode, setGroupCode, setListOfInventoryItemRPH, setListofRoomRPH, setName, setQuantity, setRPH, setSubCategories, setType, sizeSubCategories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Extras

public Extras()
Method Detail

getDate

public DateTimeSpan getDate()
Get the 'Date' element value. Specifies the date and/or duration for the option

Returns:
value

setDate

public void setDate(DateTimeSpan date)
Set the 'Date' element value. Specifies the date and/or duration for the option

Parameters:
date -

getPassengerCounts

public CustomerCounts getPassengerCounts()
Get the 'PassengerCounts' element value. Counts of the number of passengers in age categories. Used when individual passenger identification is not required.

Returns:
value

setPassengerCounts

public void setPassengerCounts(CustomerCounts passengerCounts)
Set the 'PassengerCounts' element value. Counts of the number of passengers in age categories. Used when individual passenger identification is not required.

Parameters:
passengerCounts -

getAdditionalInfo

public java.lang.String getAdditionalInfo()
Get the 'AdditionalInfo' element value. Additional textual information is sometimes required when an option is selected.

Returns:
value

setAdditionalInfo

public void setAdditionalInfo(java.lang.String additionalInfo)
Set the 'AdditionalInfo' element value. Additional textual information is sometimes required when an option is selected.

Parameters:
additionalInfo -

getListOfPassengerRPH

public java.lang.String getListOfPassengerRPH()
Get the 'ListOfPassengerRPH' attribute value. Where an option is applicable only to certain passengers, this attribute will contain the ReferencePlaceHolders of the relevant passengers.

Returns:
value

setListOfPassengerRPH

public void setListOfPassengerRPH(java.lang.String listOfPassengerRPH)
Set the 'ListOfPassengerRPH' attribute value. Where an option is applicable only to certain passengers, this attribute will contain the ReferencePlaceHolders of the relevant passengers.

Parameters:
listOfPassengerRPH -