org.ota.vehicle
Class RateNotifRQ

java.lang.Object
  extended by org.ota.vehicle.RateNotifRQ

public class RateNotifRQ
extends java.lang.Object

This message pushes rate details for car rental rates. The information pushed may establish this rate initially in a database and/or update the information that currently exists. 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="OTA_VehRateNotifRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="Rates">
         <xs:complexType>
           <xs:sequence>
             <xs:element name="Rate" maxOccurs="999">
               <!-- Reference to inner class Rate -->
             </xs:element>
           </xs:sequence>
           <xs:attribute type="xs:int" use="optional" name="Quantity"/>
           <xs:attribute type="xs:boolean" use="optional" name="RateQualifierOnlyInd"/>
         </xs:complexType>
       </xs:element>
     </xs:sequence>
     <xs:attributeGroup ref="ns:OTA_PayloadStdAttributes"/>
     <xs:attributeGroup ref="ns:ReqRespVersion"/>
   </xs:complexType>
 </xs:element>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="ReqRespVersion">
   <xs:attribute type="xs:string" use="optional" name="ReqRespVersion"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class RateNotifRQ.Rate
          Provides either a rate qualifier or all information for a specific car rental rate.
 
Constructor Summary
RateNotifRQ()
           
 
Method Summary
 void addRate(RateNotifRQ.Rate item)
          Add a 'Rate' element item.
 void clearRates()
          Remove all 'Rate' element items.
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 RateNotifRQ.Rate getRate(int index)
          Get 'Rate' element item by position.
 java.util.List<RateNotifRQ.Rate> getRates()
          Get the list of 'Rate' element items.
 java.lang.Integer getRatesQuantity()
          Get the 'Quantity' attribute value.
 java.lang.Boolean getRatesRateQualifierOnlyInd()
          Get the 'RateQualifierOnlyInd' attribute value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setRates(java.util.List<RateNotifRQ.Rate> list)
          Set the list of 'Rate' element items.
 void setRatesQuantity(java.lang.Integer ratesQuantity)
          Set the 'Quantity' attribute value.
 void setRatesRateQualifierOnlyInd(java.lang.Boolean ratesRateQualifierOnlyInd)
          Set the 'RateQualifierOnlyInd' attribute value.
 void setReqRespVersion(java.lang.String reqRespVersion)
          Set the 'ReqRespVersion' attribute value.
 int sizeRates()
          Get the number of 'Rate' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateNotifRQ

public RateNotifRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. To specify who is sending the rate database information.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. To specify who is sending the rate database information.

Parameters:
POS -

getRates

public java.util.List<RateNotifRQ.Rate> getRates()
Get the list of 'Rate' element items. A collection of rates.

Returns:
list

setRates

public void setRates(java.util.List<RateNotifRQ.Rate> list)
Set the list of 'Rate' element items. A collection of rates.

Parameters:
list -

sizeRates

public int sizeRates()
Get the number of 'Rate' element items.

Returns:
count

addRate

public void addRate(RateNotifRQ.Rate item)
Add a 'Rate' element item.

Parameters:
item -

getRate

public RateNotifRQ.Rate getRate(int index)
Get 'Rate' element item by position.

Parameters:
index -
Returns:
item

clearRates

public void clearRates()
Remove all 'Rate' element items.


getRatesQuantity

public java.lang.Integer getRatesQuantity()
Get the 'Quantity' attribute value. The count of items being sent in this message.

Returns:
value

setRatesQuantity

public void setRatesQuantity(java.lang.Integer ratesQuantity)
Set the 'Quantity' attribute value. The count of items being sent in this message.

Parameters:
ratesQuantity -

getRatesRateQualifierOnlyInd

public java.lang.Boolean getRatesRateQualifierOnlyInd()
Get the 'RateQualifierOnlyInd' attribute value. When true, only the rate qualifiers are being sent.

Returns:
value

setRatesRateQualifierOnlyInd

public void setRatesRateQualifierOnlyInd(java.lang.Boolean ratesRateQualifierOnlyInd)
Set the 'RateQualifierOnlyInd' attribute value. When true, only the rate qualifiers are being sent.

Parameters:
ratesRateQualifierOnlyInd -

getOTAPayloadStdAttributes

public OTAPayloadStdAttributes getOTAPayloadStdAttributes()
Get the 'OTA_PayloadStdAttributes' attributeGroup value.

Returns:
value

setOTAPayloadStdAttributes

public void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
Set the 'OTA_PayloadStdAttributes' attributeGroup value.

Parameters:
OTAPayloadStdAttributes -

getReqRespVersion

public java.lang.String getReqRespVersion()
Get the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Returns:
value

setReqRespVersion

public void setReqRespVersion(java.lang.String reqRespVersion)
Set the 'ReqRespVersion' attribute value. Used to request the version of the payload message desired for the response.

Parameters:
reqRespVersion -