org.ota.shared
Class RateRangeGroup

java.lang.Object
  extended by org.ota.shared.RateRangeGroup

public class RateRangeGroup
extends java.lang.Object

A range of monetary values within which the cost of the available products are requested. Schema fragment(s) for this class:

 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="RateRangeGroup">
   <xs:attribute type="xs:float" use="optional" name="MinRate"/>
   <xs:attribute type="xs:float" use="optional" name="MaxRate"/>
   <xs:attribute type="xs:float" use="optional" name="FixedRate"/>
   <xs:attribute type="ns:TimeUnitType" use="optional" name="RateTimeUnit"/>
   <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
 </xs:attributeGroup>
 


Constructor Summary
RateRangeGroup()
           
 
Method Summary
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 java.lang.Float getFixedRate()
          Get the 'FixedRate' attribute value.
 java.lang.Float getMaxRate()
          Get the 'MaxRate' attribute value.
 java.lang.Float getMinRate()
          Get the 'MinRate' attribute value.
 TimeUnit getRateTimeUnit()
          Get the 'RateTimeUnit' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setFixedRate(java.lang.Float fixedRate)
          Set the 'FixedRate' attribute value.
 void setMaxRate(java.lang.Float maxRate)
          Set the 'MaxRate' attribute value.
 void setMinRate(java.lang.Float minRate)
          Set the 'MinRate' attribute value.
 void setRateTimeUnit(TimeUnit rateTimeUnit)
          Set the 'RateTimeUnit' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateRangeGroup

public RateRangeGroup()
Method Detail

getMinRate

public java.lang.Float getMinRate()
Get the 'MinRate' attribute value. A decimal value that indicates the minimum monetary value to be considered in a request for an available product.

Returns:
value

setMinRate

public void setMinRate(java.lang.Float minRate)
Set the 'MinRate' attribute value. A decimal value that indicates the minimum monetary value to be considered in a request for an available product.

Parameters:
minRate -

getMaxRate

public java.lang.Float getMaxRate()
Get the 'MaxRate' attribute value. A decimal value that indicates the maximum monetary value to be considered in a request for an available product.

Returns:
value

setMaxRate

public void setMaxRate(java.lang.Float maxRate)
Set the 'MaxRate' attribute value. A decimal value that indicates the maximum monetary value to be considered in a request for an available product.

Parameters:
maxRate -

getFixedRate

public java.lang.Float getFixedRate()
Get the 'FixedRate' attribute value. The rate amount used in place of MinRate and MaxRate when a specific rate is being requested.

Returns:
value

setFixedRate

public void setFixedRate(java.lang.Float fixedRate)
Set the 'FixedRate' attribute value. The rate amount used in place of MinRate and MaxRate when a specific rate is being requested.

Parameters:
fixedRate -

getRateTimeUnit

public TimeUnit getRateTimeUnit()
Get the 'RateTimeUnit' attribute value. Used to specify the period of time to which the rates apply.

Returns:
value

setRateTimeUnit

public void setRateTimeUnit(TimeUnit rateTimeUnit)
Set the 'RateTimeUnit' attribute value. Used to specify the period of time to which the rates apply.

Parameters:
rateTimeUnit -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value. Used to provide currency code and decimal places for the rate attributes.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value. Used to provide currency code and decimal places for the rate attributes.

Parameters:
currencyCodeGroup -