org.ota.pkg
Class AvailRS.TravelChoices.TravelItem.SupplementCharges

java.lang.Object
  extended by org.ota.pkg.AvailRS.TravelChoices.TravelItem.SupplementCharges
Enclosing class:
AvailRS.TravelChoices.TravelItem

public static class AvailRS.TravelChoices.TravelItem.SupplementCharges
extends java.lang.Object

A collection of supplementary charges. 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="SupplementCharges" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:FeeType" name="SupplementCharge" maxOccurs="9"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailRS.TravelChoices.TravelItem.SupplementCharges()
           
 
Method Summary
 void addSupplementCharge(Fee item)
          Add a 'SupplementCharge' element item.
 void clearSupplementCharges()
          Remove all 'SupplementCharge' element items.
 Fee getSupplementCharge(int index)
          Get 'SupplementCharge' element item by position.
 java.util.List<Fee> getSupplementCharges()
          Get the list of 'SupplementCharge' element items.
 void setSupplementCharges(java.util.List<Fee> list)
          Set the list of 'SupplementCharge' element items.
 int sizeSupplementCharges()
          Get the number of 'SupplementCharge' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.TravelChoices.TravelItem.SupplementCharges

public AvailRS.TravelChoices.TravelItem.SupplementCharges()
Method Detail

getSupplementCharges

public java.util.List<Fee> getSupplementCharges()
Get the list of 'SupplementCharge' element items. A value representing a supplement for this journey (e.g., Aberdeen to Palma) over the cost of the journey on which package basic price is calculated (e.g., Gatwick to Palma).

Returns:
list

setSupplementCharges

public void setSupplementCharges(java.util.List<Fee> list)
Set the list of 'SupplementCharge' element items. A value representing a supplement for this journey (e.g., Aberdeen to Palma) over the cost of the journey on which package basic price is calculated (e.g., Gatwick to Palma).

Parameters:
list -

sizeSupplementCharges

public int sizeSupplementCharges()
Get the number of 'SupplementCharge' element items.

Returns:
count

addSupplementCharge

public void addSupplementCharge(Fee item)
Add a 'SupplementCharge' element item.

Parameters:
item -

getSupplementCharge

public Fee getSupplementCharge(int index)
Get 'SupplementCharge' element item by position.

Parameters:
index -
Returns:
item

clearSupplementCharges

public void clearSupplementCharges()
Remove all 'SupplementCharge' element items.