org.ota.cruise
Class FastSellRQ

java.lang.Object
  extended by org.ota.cruise.FastSellRQ

public class FastSellRQ
extends java.lang.Object

The Fast Sell Request message requests cabin hold, cabin availability, category availability, and optionally an inclusive package. 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="OTA_CruiseFastSellRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="GuestCounts" minOccurs="0">
         <!-- Reference to inner class GuestCounts -->
       </xs:element>
       <xs:element name="SelectedSailing">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="SelectedFare" minOccurs="0">
               <xs:complexType>
                 <xs:attributeGroup ref="ns:FareGroup"/>
               </xs:complexType>
             </xs:element>
             <xs:element name="SelectedCategory" minOccurs="0">
               <!-- Reference to inner class SelectedCategory -->
             </xs:element>
             <xs:element name="InclusivePackageOption" minOccurs="0">
               <xs:complexType>
                 <xs:attributeGroup ref="ns:CruisePackageGroup"/>
               </xs:complexType>
             </xs:element>
           </xs:sequence>
           <xs:attributeGroup ref="ns:SelectedSailingGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:GuestType" name="Guest" minOccurs="0" maxOccurs="9"/>
       <xs:element name="Currency" minOccurs="0">
         <xs:complexType>
           <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
         </xs:complexType>
       </xs:element>
       <xs:element type="ns:SearchQualifierType" name="SearchQualifiers" minOccurs="0"/>
       <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
   </xs:complexType>
 </xs:element>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class FastSellRQ.GuestCounts
          Specifies guest quantity and guest types.
static class FastSellRQ.SelectedCategory
          Specifies the category for the Fast Sell.
 
Constructor Summary
FastSellRQ()
           
 
Method Summary
 void addGuest(Guest item)
          Add a 'Guest' element item.
 void clearGuests()
          Remove all 'Guest' element items.
 CurrencyCodeGroup getCurrency()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 Guest getGuest(int index)
          Get 'Guest' element item by position.
 FastSellRQ.GuestCounts getGuestCounts()
          Get the 'GuestCounts' element value.
 java.util.List<Guest> getGuests()
          Get the list of 'Guest' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 SearchQualifier getSearchQualifiers()
          Get the 'SearchQualifiers' element value.
 FastSellRQ.SelectedCategory getSelectedCategory()
          Get the 'SelectedCategory' element value.
 CruisePackageGroup getSelectedSailingInclusivePackageOption()
          Get the 'CruisePackageGroup' attributeGroup value.
 FareGroup getSelectedSailingSelectedFare()
          Get the 'FareGroup' attributeGroup value.
 SelectedSailingGroup getSelectedSailingSelectedSailingGroup()
          Get the 'SelectedSailingGroup' attributeGroup value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setCurrency(CurrencyCodeGroup currency)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setGuestCounts(FastSellRQ.GuestCounts guestCounts)
          Set the 'GuestCounts' element value.
 void setGuests(java.util.List<Guest> list)
          Set the list of 'Guest' element items.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setSearchQualifiers(SearchQualifier searchQualifiers)
          Set the 'SearchQualifiers' element value.
 void setSelectedCategory(FastSellRQ.SelectedCategory selectedCategory)
          Set the 'SelectedCategory' element value.
 void setSelectedSailingInclusivePackageOption(CruisePackageGroup selectedSailingInclusivePackageOption)
          Set the 'CruisePackageGroup' attributeGroup value.
 void setSelectedSailingSelectedFare(FareGroup selectedSailingSelectedFare)
          Set the 'FareGroup' attributeGroup value.
 void setSelectedSailingSelectedSailingGroup(SelectedSailingGroup selectedSailingSelectedSailingGroup)
          Set the 'SelectedSailingGroup' attributeGroup value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 int sizeGuests()
          Get the number of 'Guest' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastSellRQ

public FastSellRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of sale object.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of sale object.

Parameters:
POS -

getGuestCounts

public FastSellRQ.GuestCounts getGuestCounts()
Get the 'GuestCounts' element value.

Returns:
value

setGuestCounts

public void setGuestCounts(FastSellRQ.GuestCounts guestCounts)
Set the 'GuestCounts' element value.

Parameters:
guestCounts -

getSelectedSailingSelectedFare

public FareGroup getSelectedSailingSelectedFare()
Get the 'FareGroup' attributeGroup value. Specifies the fare code and the group code. Fare codes are specific to cruise lines.

Returns:
value

setSelectedSailingSelectedFare

public void setSelectedSailingSelectedFare(FareGroup selectedSailingSelectedFare)
Set the 'FareGroup' attributeGroup value. Specifies the fare code and the group code. Fare codes are specific to cruise lines.

Parameters:
selectedSailingSelectedFare -

getSelectedCategory

public FastSellRQ.SelectedCategory getSelectedCategory()
Get the 'SelectedCategory' element value. Contains information related to the selected sailing.

Returns:
value

setSelectedCategory

public void setSelectedCategory(FastSellRQ.SelectedCategory selectedCategory)
Set the 'SelectedCategory' element value. Contains information related to the selected sailing.

Parameters:
selectedCategory -

getSelectedSailingInclusivePackageOption

public CruisePackageGroup getSelectedSailingInclusivePackageOption()
Get the 'CruisePackageGroup' attributeGroup value. Specifies the package for this sailing.

Returns:
value

setSelectedSailingInclusivePackageOption

public void setSelectedSailingInclusivePackageOption(CruisePackageGroup selectedSailingInclusivePackageOption)
Set the 'CruisePackageGroup' attributeGroup value. Specifies the package for this sailing.

Parameters:
selectedSailingInclusivePackageOption -

getSelectedSailingSelectedSailingGroup

public SelectedSailingGroup getSelectedSailingSelectedSailingGroup()
Get the 'SelectedSailingGroup' attributeGroup value.

Returns:
value

setSelectedSailingSelectedSailingGroup

public void setSelectedSailingSelectedSailingGroup(SelectedSailingGroup selectedSailingSelectedSailingGroup)
Set the 'SelectedSailingGroup' attributeGroup value.

Parameters:
selectedSailingSelectedSailingGroup -

getGuests

public java.util.List<Guest> getGuests()
Get the list of 'Guest' element items. Selected guest mode of transportation available for current sailing and current fares.

Returns:
list

setGuests

public void setGuests(java.util.List<Guest> list)
Set the list of 'Guest' element items. Selected guest mode of transportation available for current sailing and current fares.

Parameters:
list -

sizeGuests

public int sizeGuests()
Get the number of 'Guest' element items.

Returns:
count

addGuest

public void addGuest(Guest item)
Add a 'Guest' element item.

Parameters:
item -

getGuest

public Guest getGuest(int index)
Get 'Guest' element item by position.

Parameters:
index -
Returns:
item

clearGuests

public void clearGuests()
Remove all 'Guest' element items.


getCurrency

public CurrencyCodeGroup getCurrency()
Get the 'CurrencyCodeGroup' attributeGroup value. Currency in which the fare will be returned.

Returns:
value

setCurrency

public void setCurrency(CurrencyCodeGroup currency)
Set the 'CurrencyCodeGroup' attributeGroup value. Currency in which the fare will be returned.

Parameters:
currency -

getSearchQualifiers

public SearchQualifier getSearchQualifiers()
Get the 'SearchQualifiers' element value. In this message Past Passenger Number and Residency can be used to hold the Cabin. NOTE: Other Fields may not be used in this message

Returns:
value

setSearchQualifiers

public void setSearchQualifiers(SearchQualifier searchQualifiers)
Set the 'SearchQualifiers' element value. In this message Past Passenger Number and Residency can be used to hold the Cabin. NOTE: Other Fields may not be used in this message

Parameters:
searchQualifiers -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value. The standard attributes that appear on the root element for all OpenTravel Messages.

Parameters:
OTAPayloadStdAttributes -