org.ota.hotel
Class AvailStatusMessage.BestAvailableRates.BestAvailableRate

java.lang.Object
  extended by org.ota.hotel.AvailStatusMessage.BestAvailableRates.BestAvailableRate
Enclosing class:
AvailStatusMessage.BestAvailableRates

public static class AvailStatusMessage.BestAvailableRates.BestAvailableRate
extends java.lang.Object

The details of a best available rate. 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="BestAvailableRate" maxOccurs="unbounded">
   <xs:complexType>
     <xs:attribute type="xs:int" use="optional" name="LengthOfStayTime"/>
     <xs:attribute type="ns:TimeUnitType" use="optional" name="LengthOfStayTimeUnit"/>
     <xs:attribute type="xs:string" use="optional" name="RatePlanCode"/>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute type="xs:boolean" use="optional" name="TaxInclusive"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailStatusMessage.BestAvailableRates.BestAvailableRate()
           
 
Method Summary
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 java.lang.Integer getLengthOfStayTime()
          Get the 'LengthOfStayTime' attribute value.
 TimeUnit getLengthOfStayTimeUnit()
          Get the 'LengthOfStayTimeUnit' attribute value.
 java.lang.String getRatePlanCode()
          Get the 'RatePlanCode' attribute value.
 java.lang.Boolean getTaxInclusive()
          Get the 'TaxInclusive' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 void setLengthOfStayTime(java.lang.Integer lengthOfStayTime)
          Set the 'LengthOfStayTime' attribute value.
 void setLengthOfStayTimeUnit(TimeUnit lengthOfStayTimeUnit)
          Set the 'LengthOfStayTimeUnit' attribute value.
 void setRatePlanCode(java.lang.String ratePlanCode)
          Set the 'RatePlanCode' attribute value.
 void setTaxInclusive(java.lang.Boolean taxInclusive)
          Set the 'TaxInclusive' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailStatusMessage.BestAvailableRates.BestAvailableRate

public AvailStatusMessage.BestAvailableRates.BestAvailableRate()
Method Detail

getLengthOfStayTime

public java.lang.Integer getLengthOfStayTime()
Get the 'LengthOfStayTime' attribute value. Used in conjunction with the TimeUnit to define the length of stay.

Returns:
value

setLengthOfStayTime

public void setLengthOfStayTime(java.lang.Integer lengthOfStayTime)
Set the 'LengthOfStayTime' attribute value. Used in conjunction with the TimeUnit to define the length of stay.

Parameters:
lengthOfStayTime -

getLengthOfStayTimeUnit

public TimeUnit getLengthOfStayTimeUnit()
Get the 'LengthOfStayTimeUnit' attribute value. A time unit used to apply this status message to other inventory, and with more granularity than daily. Values: Year, Month, Week, Day, Hour, Minute, Second.

Returns:
value

setLengthOfStayTimeUnit

public void setLengthOfStayTimeUnit(TimeUnit lengthOfStayTimeUnit)
Set the 'LengthOfStayTimeUnit' attribute value. A time unit used to apply this status message to other inventory, and with more granularity than daily. Values: Year, Month, Week, Day, Hour, Minute, Second.

Parameters:
lengthOfStayTimeUnit -

getRatePlanCode

public java.lang.String getRatePlanCode()
Get the 'RatePlanCode' attribute value. A string value used to specify the rate code as the best available rate.

Returns:
value

setRatePlanCode

public void setRatePlanCode(java.lang.String ratePlanCode)
Set the 'RatePlanCode' attribute value. A string value used to specify the rate code as the best available rate.

Parameters:
ratePlanCode -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. The amount of the best available rate. This may be used in conjuction with the RatePlanCode attribute to define its rate.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. The amount of the best available rate. This may be used in conjuction with the RatePlanCode attribute to define its rate.

Parameters:
currencyAmountGroup -

getTaxInclusive

public java.lang.Boolean getTaxInclusive()
Get the 'TaxInclusive' attribute value. When true indicates tax is included. When false tax is not included.

Returns:
value

setTaxInclusive

public void setTaxInclusive(java.lang.Boolean taxInclusive)
Set the 'TaxInclusive' attribute value. When true indicates tax is included. When false tax is not included.

Parameters:
taxInclusive -