org.ota.hotel
Class AvailGetRQ.HotelAvailRequest.BestAvailableRateCandidate

java.lang.Object
  extended by org.ota.hotel.AvailGetRQ.HotelAvailRequest.BestAvailableRateCandidate
Enclosing class:
AvailGetRQ.HotelAvailRequest

public static class AvailGetRQ.HotelAvailRequest.BestAvailableRateCandidate
extends java.lang.Object

Use to request 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="BestAvailableRateCandidate" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:boolean" name="SendLengthOfStayTime"/>
     <xs:attribute type="xs:boolean" name="SendRatePlanCode"/>
     <xs:attribute type="xs:boolean" name="SendAmount"/>
     <xs:attributeGroup ref="ns:CurrencyCodeGroup"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
AvailGetRQ.HotelAvailRequest.BestAvailableRateCandidate()
           
 
Method Summary
 CurrencyCodeGroup getCurrencyCodeGroup()
          Get the 'CurrencyCodeGroup' attributeGroup value.
 java.lang.Boolean getSendAmount()
          Get the 'SendAmount' attribute value.
 java.lang.Boolean getSendLengthOfStayTime()
          Get the 'SendLengthOfStayTime' attribute value.
 java.lang.Boolean getSendRatePlanCode()
          Get the 'SendRatePlanCode' attribute value.
 void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
          Set the 'CurrencyCodeGroup' attributeGroup value.
 void setSendAmount(java.lang.Boolean sendAmount)
          Set the 'SendAmount' attribute value.
 void setSendLengthOfStayTime(java.lang.Boolean sendLengthOfStayTime)
          Set the 'SendLengthOfStayTime' attribute value.
 void setSendRatePlanCode(java.lang.Boolean sendRatePlanCode)
          Set the 'SendRatePlanCode' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvailGetRQ.HotelAvailRequest.BestAvailableRateCandidate

public AvailGetRQ.HotelAvailRequest.BestAvailableRateCandidate()
Method Detail

getSendLengthOfStayTime

public java.lang.Boolean getSendLengthOfStayTime()
Get the 'SendLengthOfStayTime' attribute value. Boolean Flag indicating if length of stays are requested. Not including this attribute or setting it to false impies there will be one best available rate sent for all lengths of stay.

Returns:
value

setSendLengthOfStayTime

public void setSendLengthOfStayTime(java.lang.Boolean sendLengthOfStayTime)
Set the 'SendLengthOfStayTime' attribute value. Boolean Flag indicating if length of stays are requested. Not including this attribute or setting it to false impies there will be one best available rate sent for all lengths of stay.

Parameters:
sendLengthOfStayTime -

getSendRatePlanCode

public java.lang.Boolean getSendRatePlanCode()
Get the 'SendRatePlanCode' attribute value. Boolean flag indicating the best available rate should be sent as a rate plan code.

Returns:
value

setSendRatePlanCode

public void setSendRatePlanCode(java.lang.Boolean sendRatePlanCode)
Set the 'SendRatePlanCode' attribute value. Boolean flag indicating the best available rate should be sent as a rate plan code.

Parameters:
sendRatePlanCode -

getSendAmount

public java.lang.Boolean getSendAmount()
Get the 'SendAmount' attribute value. Boolean flag indicating the best available rate should be sent as a rate amount. If this attrinbute is true, the currency code attributes may be included to ensure the responder currency matches the sender currency.

Returns:
value

setSendAmount

public void setSendAmount(java.lang.Boolean sendAmount)
Set the 'SendAmount' attribute value. Boolean flag indicating the best available rate should be sent as a rate amount. If this attrinbute is true, the currency code attributes may be included to ensure the responder currency matches the sender currency.

Parameters:
sendAmount -

getCurrencyCodeGroup

public CurrencyCodeGroup getCurrencyCodeGroup()
Get the 'CurrencyCodeGroup' attributeGroup value.

Returns:
value

setCurrencyCodeGroup

public void setCurrencyCodeGroup(CurrencyCodeGroup currencyCodeGroup)
Set the 'CurrencyCodeGroup' attributeGroup value.

Parameters:
currencyCodeGroup -