org.ota.vehicle
Class ResRQ

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

public class ResRQ
extends java.lang.Object

The root tag of OTA_VehResRQ contains standard payload attributes found in all OpenTravel payload documents. The attribute ReqRespVersion is a positive integer value that indicates the version number requested for the response message. 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_VehResRQ">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:POS_Type" name="POS"/>
       <xs:element name="VehResRQCore">
         <xs:complexType>
           <xs:complexContent>
             <xs:extension base="ns:VehicleReservationRQCoreType">
               <xs:attribute type="xs:boolean" use="optional" name="OptionChangeIndicator"/>
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
       </xs:element>
       <xs:element name="VehResRQInfo" minOccurs="0">
         <!-- Reference to inner class VehResRQInfo -->
       </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 ResRQ.VehResRQInfo
          Identifies the supplemental information associated with the request for the reservation of a rental vehicle.
 
Constructor Summary
ResRQ()
           
 
Method Summary
 OTAPayloadStdAttributes getOTAPayloadStdAttributes()
          Get the 'OTA_PayloadStdAttributes' attributeGroup value.
 POS getPOS()
          Get the 'POS' element value.
 java.lang.String getReqRespVersion()
          Get the 'ReqRespVersion' attribute value.
 java.lang.Boolean getVehResRQCoreOptionChangeIndicator()
          Get the 'OptionChangeIndicator' attribute value.
 VehicleReservationRQCore getVehResRQCoreVehicleReservationRQCore()
          Get the extension value.
 ResRQ.VehResRQInfo getVehResRQInfo()
          Get the 'VehResRQInfo' element value.
 void setOTAPayloadStdAttributes(OTAPayloadStdAttributes OTAPayloadStdAttributes)
          Set the 'OTA_PayloadStdAttributes' attributeGroup value.
 void setPOS(POS POS)
          Set the 'POS' element value.
 void setReqRespVersion(java.lang.String reqRespVersion)
          Set the 'ReqRespVersion' attribute value.
 void setVehResRQCoreOptionChangeIndicator(java.lang.Boolean vehResRQCoreOptionChangeIndicator)
          Set the 'OptionChangeIndicator' attribute value.
 void setVehResRQCoreVehicleReservationRQCore(VehicleReservationRQCore vehResRQCoreVehicleReservationRQCore)
          Set the extension value.
 void setVehResRQInfo(ResRQ.VehResRQInfo vehResRQInfo)
          Set the 'VehResRQInfo' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResRQ

public ResRQ()
Method Detail

getPOS

public POS getPOS()
Get the 'POS' element value. Point of Sale Identification. Identification number of the vendor that has made the vehicle availability request and agency number assigned by IATA, ARC, ESRP or TID.

Returns:
value

setPOS

public void setPOS(POS POS)
Set the 'POS' element value. Point of Sale Identification. Identification number of the vendor that has made the vehicle availability request and agency number assigned by IATA, ARC, ESRP or TID.

Parameters:
POS -

getVehResRQCoreVehicleReservationRQCore

public VehicleReservationRQCore getVehResRQCoreVehicleReservationRQCore()
Get the extension value.

Returns:
value

setVehResRQCoreVehicleReservationRQCore

public void setVehResRQCoreVehicleReservationRQCore(VehicleReservationRQCore vehResRQCoreVehicleReservationRQCore)
Set the extension value.

Parameters:
vehResRQCoreVehicleReservationRQCore -

getVehResRQCoreOptionChangeIndicator

public java.lang.Boolean getVehResRQCoreOptionChangeIndicator()
Get the 'OptionChangeIndicator' attribute value. When true, indicates that the options have changed since the last availability response.

Returns:
value

setVehResRQCoreOptionChangeIndicator

public void setVehResRQCoreOptionChangeIndicator(java.lang.Boolean vehResRQCoreOptionChangeIndicator)
Set the 'OptionChangeIndicator' attribute value. When true, indicates that the options have changed since the last availability response.

Parameters:
vehResRQCoreOptionChangeIndicator -

getVehResRQInfo

public ResRQ.VehResRQInfo getVehResRQInfo()
Get the 'VehResRQInfo' element value.

Returns:
value

setVehResRQInfo

public void setVehResRQInfo(ResRQ.VehResRQInfo vehResRQInfo)
Set the 'VehResRQInfo' element value.

Parameters:
vehResRQInfo -

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 -