org.ota.cruise
Class SailingInfo

java.lang.Object
  extended by org.ota.cruise.SailingInfo
Direct Known Subclasses:
Sailing, SailingCategoryInfo

public class SailingInfo
extends java.lang.Object

Contains information pertaining to the selected sailing. 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="SailingInfoType">
   <xs:sequence>
     <xs:element name="SelectedSailing" minOccurs="0">
       <!-- Reference to inner class SelectedSailing -->
     </xs:element>
     <xs:element name="InclusivePackageOption" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CruisePackageGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="Currency" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
       </xs:complexType>
     </xs:element>
   </xs:sequence>
 </xs:complexType>
 


Nested Class Summary
static class SailingInfo.SelectedSailing
          Contains information related to the selected sailing.
 
Constructor Summary
SailingInfo()
           
 
Method Summary
 CurrencyCodeGroup getCurrency()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 CruisePackageGroup getInclusivePackageOption()
          Get the 'CruisePackageGroup' attributeGroup value.
 SailingInfo.SelectedSailing getSelectedSailing()
          Get the 'SelectedSailing' element value.
 void setCurrency(CurrencyCodeGroup currency)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setInclusivePackageOption(CruisePackageGroup inclusivePackageOption)
          Set the 'CruisePackageGroup' attributeGroup value.
 void setSelectedSailing(SailingInfo.SelectedSailing selectedSailing)
          Set the 'SelectedSailing' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SailingInfo

public SailingInfo()
Method Detail

getSelectedSailing

public SailingInfo.SelectedSailing getSelectedSailing()
Get the 'SelectedSailing' element value.

Returns:
value

setSelectedSailing

public void setSelectedSailing(SailingInfo.SelectedSailing selectedSailing)
Set the 'SelectedSailing' element value.

Parameters:
selectedSailing -

getInclusivePackageOption

public CruisePackageGroup getInclusivePackageOption()
Get the 'CruisePackageGroup' attributeGroup value. Used to request package options that the cruise might offer with the sailing. It is quite common to request, at this stage, packages that are included in the cruise sailing offering (inclusive packages).

Returns:
value

setInclusivePackageOption

public void setInclusivePackageOption(CruisePackageGroup inclusivePackageOption)
Set the 'CruisePackageGroup' attributeGroup value. Used to request package options that the cruise might offer with the sailing. It is quite common to request, at this stage, packages that are included in the cruise sailing offering (inclusive packages).

Parameters:
inclusivePackageOption -

getCurrency

public CurrencyCodeGroup getCurrency()
Get the 'CurrencyCodeGroup' attributeGroup value. Provides currency in which business will be done.

Returns:
value

setCurrency

public void setCurrency(CurrencyCodeGroup currency)
Set the 'CurrencyCodeGroup' attributeGroup value. Provides currency in which business will be done.

Parameters:
currency -