org.ota.air
Class FareDisplayRQ.TravelPreferences.PricingPrefs.ExchangeRates

java.lang.Object
  extended by org.ota.air.FareDisplayRQ.TravelPreferences.PricingPrefs.ExchangeRates
Enclosing class:
FareDisplayRQ.TravelPreferences.PricingPrefs

public static class FareDisplayRQ.TravelPreferences.PricingPrefs.ExchangeRates
extends java.lang.Object

Container for exchange rate elements 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="ExchangeRates" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="ExchangeRate" maxOccurs="10">
         <xs:complexType>
           <xs:attributeGroup ref="ns:ExchangeRateGroup"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
FareDisplayRQ.TravelPreferences.PricingPrefs.ExchangeRates()
           
 
Method Summary
 void addExchangeRate(ExchangeRateGroup item)
          Add a 'ExchangeRate' element item.
 void clearExchangeRates()
          Remove all 'ExchangeRate' element items.
 ExchangeRateGroup getExchangeRate(int index)
          Get 'ExchangeRate' element item by position.
 java.util.List<ExchangeRateGroup> getExchangeRates()
          Get the list of 'ExchangeRate' element items.
 void setExchangeRates(java.util.List<ExchangeRateGroup> list)
          Set the list of 'ExchangeRate' element items.
 int sizeExchangeRates()
          Get the number of 'ExchangeRate' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FareDisplayRQ.TravelPreferences.PricingPrefs.ExchangeRates

public FareDisplayRQ.TravelPreferences.PricingPrefs.ExchangeRates()
Method Detail

getExchangeRates

public java.util.List<ExchangeRateGroup> getExchangeRates()
Get the list of 'ExchangeRate' element items. Specify a particular exchange rate to use in the response.

Returns:
list

setExchangeRates

public void setExchangeRates(java.util.List<ExchangeRateGroup> list)
Set the list of 'ExchangeRate' element items. Specify a particular exchange rate to use in the response.

Parameters:
list -

sizeExchangeRates

public int sizeExchangeRates()
Get the number of 'ExchangeRate' element items.

Returns:
count

addExchangeRate

public void addExchangeRate(ExchangeRateGroup item)
Add a 'ExchangeRate' element item.

Parameters:
item -

getExchangeRate

public ExchangeRateGroup getExchangeRate(int index)
Get 'ExchangeRate' element item by position.

Parameters:
index -
Returns:
item

clearExchangeRates

public void clearExchangeRates()
Remove all 'ExchangeRate' element items.