org.ota.cruise
Class FareAvailRS.FareCodeOptions

java.lang.Object
  extended by org.ota.cruise.FareAvailRS.FareCodeOptions
Enclosing class:
FareAvailRS

public static class FareAvailRS.FareCodeOptions
extends java.lang.Object

Specifies the different fare options available for the selected sailing. Schema fragment(s) for this class:

 <xs:element xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="FareCodeOptions" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="FareCodeOptionType" name="FareCodeOption" maxOccurs="unbounded">
         <!-- Reference to inner class FareCodeOption -->
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class FareAvailRS.FareCodeOptions.FareCodeOption
          Specifies the fare information available for the selected sailing.
 
Constructor Summary
FareAvailRS.FareCodeOptions()
           
 
Method Summary
 void addFareCodeOption(FareAvailRS.FareCodeOptions.FareCodeOption item)
          Add a 'FareCodeOption' element item.
 void clearFareCodeOptions()
          Remove all 'FareCodeOption' element items.
 FareAvailRS.FareCodeOptions.FareCodeOption getFareCodeOption(int index)
          Get 'FareCodeOption' element item by position.
 java.util.List<FareAvailRS.FareCodeOptions.FareCodeOption> getFareCodeOptions()
          Get the list of 'FareCodeOption' element items.
 void setFareCodeOptions(java.util.List<FareAvailRS.FareCodeOptions.FareCodeOption> list)
          Set the list of 'FareCodeOption' element items.
 int sizeFareCodeOptions()
          Get the number of 'FareCodeOption' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareAvailRS.FareCodeOptions

public FareAvailRS.FareCodeOptions()
Method Detail

getFareCodeOptions

public java.util.List<FareAvailRS.FareCodeOptions.FareCodeOption> getFareCodeOptions()
Get the list of 'FareCodeOption' element items.

Returns:
list

setFareCodeOptions

public void setFareCodeOptions(java.util.List<FareAvailRS.FareCodeOptions.FareCodeOption> list)
Set the list of 'FareCodeOption' element items.

Parameters:
list -

sizeFareCodeOptions

public int sizeFareCodeOptions()
Get the number of 'FareCodeOption' element items.

Returns:
count

addFareCodeOption

public void addFareCodeOption(FareAvailRS.FareCodeOptions.FareCodeOption item)
Add a 'FareCodeOption' element item.

Parameters:
item -

getFareCodeOption

public FareAvailRS.FareCodeOptions.FareCodeOption getFareCodeOption(int index)
Get 'FareCodeOption' element item by position.

Parameters:
index -
Returns:
item

clearFareCodeOptions

public void clearFareCodeOptions()
Remove all 'FareCodeOption' element items.