org.ota.hotel
Class AvailRS.CurrencyConversions.CurrencyConversion

java.lang.Object
  extended by org.ota.hotel.AvailRS.CurrencyConversions.CurrencyConversion
Enclosing class:
AvailRS.CurrencyConversions

public static class AvailRS.CurrencyConversions.CurrencyConversion
extends java.lang.Object

Provides a rate conversion from one currency to another. 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="CurrencyConversion" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:float" use="optional" name="RateConversion"/>
     <xs:attribute type="xs:string" use="optional" name="SourceCurrencyCode"/>
     <xs:attribute type="xs:string" use="optional" name="RequestedCurrencyCode"/>
     <xs:attribute type="xs:int" use="optional" name="DecimalPlaces"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailRS.CurrencyConversions.CurrencyConversion()
           
 
Method Summary
 java.lang.Integer getDecimalPlaces()
          Get the 'DecimalPlaces' attribute value.
 java.lang.Float getRateConversion()
          Get the 'RateConversion' attribute value.
 java.lang.String getRequestedCurrencyCode()
          Get the 'RequestedCurrencyCode' attribute value.
 java.lang.String getSourceCurrencyCode()
          Get the 'SourceCurrencyCode' attribute value.
 void setDecimalPlaces(java.lang.Integer decimalPlaces)
          Set the 'DecimalPlaces' attribute value.
 void setRateConversion(java.lang.Float rateConversion)
          Set the 'RateConversion' attribute value.
 void setRequestedCurrencyCode(java.lang.String requestedCurrencyCode)
          Set the 'RequestedCurrencyCode' attribute value.
 void setSourceCurrencyCode(java.lang.String sourceCurrencyCode)
          Set the 'SourceCurrencyCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailRS.CurrencyConversions.CurrencyConversion

public AvailRS.CurrencyConversions.CurrencyConversion()
Method Detail

getRateConversion

public java.lang.Float getRateConversion()
Get the 'RateConversion' attribute value. The conversion factor to apply against the source currency to obtain the requested currency.

Returns:
value

setRateConversion

public void setRateConversion(java.lang.Float rateConversion)
Set the 'RateConversion' attribute value. The conversion factor to apply against the source currency to obtain the requested currency.

Parameters:
rateConversion -

getSourceCurrencyCode

public java.lang.String getSourceCurrencyCode()
Get the 'SourceCurrencyCode' attribute value. The code specifying the source currency (use ISO 4217, three alpha code).

Returns:
value

setSourceCurrencyCode

public void setSourceCurrencyCode(java.lang.String sourceCurrencyCode)
Set the 'SourceCurrencyCode' attribute value. The code specifying the source currency (use ISO 4217, three alpha code).

Parameters:
sourceCurrencyCode -

getRequestedCurrencyCode

public java.lang.String getRequestedCurrencyCode()
Get the 'RequestedCurrencyCode' attribute value. The code specifying the requested currency (use ISO 4217, three alpha code).

Returns:
value

setRequestedCurrencyCode

public void setRequestedCurrencyCode(java.lang.String requestedCurrencyCode)
Set the 'RequestedCurrencyCode' attribute value. The code specifying the requested currency (use ISO 4217, three alpha code).

Parameters:
requestedCurrencyCode -

getDecimalPlaces

public java.lang.Integer getDecimalPlaces()
Get the 'DecimalPlaces' attribute value. Indicates the number of decimal places for the requested currency. This is equivalent to the ISO 4217 standard "minor unit".

Returns:
value

setDecimalPlaces

public void setDecimalPlaces(java.lang.Integer decimalPlaces)
Set the 'DecimalPlaces' attribute value. Indicates the number of decimal places for the requested currency. This is equivalent to the ISO 4217 standard "minor unit".

Parameters:
decimalPlaces -