org.ota.vehicle
Class VehicleAvailRQCore

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

public class VehicleAvailRQCore
extends java.lang.Object

The VehicleAvailRQCoreType complex type identifies the data that is common in a request for vehicle availability and rates. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VehicleAvailRQCoreType">
   <xs:sequence>
     <xs:element type="ns:VehicleRentalCoreType" name="VehRentalCore"/>
     <xs:element name="VendorPrefs" minOccurs="0">
       <!-- Reference to inner class VendorPrefs -->
     </xs:element>
     <xs:element name="VehPrefs" minOccurs="0">
       <!-- Reference to inner class VehPrefs -->
     </xs:element>
     <xs:element name="DriverType" minOccurs="0" maxOccurs="3">
       <xs:complexType>
         <xs:attributeGroup ref="ns:TravelerCountGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="RateQualifier" minOccurs="0" maxOccurs="13">
       <xs:complexType>
         <xs:attributeGroup ref="ns:RateQualifierCoreGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="RateRange" minOccurs="0">
       <xs:complexType>
         <xs:attributeGroup ref="ns:RateRangeGroup"/>
       </xs:complexType>
     </xs:element>
     <xs:element name="SpecialEquipPrefs" minOccurs="0">
       <!-- Reference to inner class SpecialEquipPrefs -->
     </xs:element>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="ns:InventoryStatusType" use="optional" name="Status"/>
   <xs:attribute type="xs:string" use="optional" name="TargetSource"/>
 </xs:complexType>
 
 <xs:element xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" type="ns:TPA_ExtensionsType" name="TPA_Extensions"/>
 


Nested Class Summary
static class VehicleAvailRQCore.SpecialEquipPrefs
          Indicates the preferences for one or more specific items of additional equipment, such as ski racks, child seats, etc.
static class VehicleAvailRQCore.VehPrefs
          Indicates any preferences for the vehicle, such as type, class, transmission, air conditioning.
static class VehicleAvailRQCore.VendorPrefs
          A collection of vendor preferences.
 
Constructor Summary
VehicleAvailRQCore()
           
 
Method Summary
 void addDriver(TravelerCountGroup item)
          Add a 'DriverType' element item.
 void addRateQualifier(RateQualifierCoreGroup item)
          Add a 'RateQualifier' element item.
 void clearDrivers()
          Remove all 'DriverType' element items.
 void clearRateQualifiers()
          Remove all 'RateQualifier' element items.
 TravelerCountGroup getDriver(int index)
          Get 'DriverType' element item by position.
 java.util.List<TravelerCountGroup> getDrivers()
          Get the list of 'DriverType' element items.
 RateQualifierCoreGroup getRateQualifier(int index)
          Get 'RateQualifier' element item by position.
 java.util.List<RateQualifierCoreGroup> getRateQualifiers()
          Get the list of 'RateQualifier' element items.
 RateRangeGroup getRateRange()
          Get the 'RateRangeGroup' attributeGroup value.
 VehicleAvailRQCore.SpecialEquipPrefs getSpecialEquipPrefs()
          Get the 'SpecialEquipPrefs' element value.
 InventoryStatus getStatus()
          Get the 'Status' attribute value.
 java.lang.String getTargetSource()
          Get the 'TargetSource' attribute value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 VehicleAvailRQCore.VehPrefs getVehPrefs()
          Get the 'VehPrefs' element value.
 VehicleRentalCore getVehRentalCore()
          Get the 'VehRentalCore' element value.
 VehicleAvailRQCore.VendorPrefs getVendorPrefs()
          Get the 'VendorPrefs' element value.
 void setDrivers(java.util.List<TravelerCountGroup> list)
          Set the list of 'DriverType' element items.
 void setRateQualifiers(java.util.List<RateQualifierCoreGroup> list)
          Set the list of 'RateQualifier' element items.
 void setRateRange(RateRangeGroup rateRange)
          Set the 'RateRangeGroup' attributeGroup value.
 void setSpecialEquipPrefs(VehicleAvailRQCore.SpecialEquipPrefs specialEquipPrefs)
          Set the 'SpecialEquipPrefs' element value.
 void setStatus(InventoryStatus status)
          Set the 'Status' attribute value.
 void setTargetSource(java.lang.String targetSource)
          Set the 'TargetSource' attribute value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 void setVehPrefs(VehicleAvailRQCore.VehPrefs vehPrefs)
          Set the 'VehPrefs' element value.
 void setVehRentalCore(VehicleRentalCore vehRentalCore)
          Set the 'VehRentalCore' element value.
 void setVendorPrefs(VehicleAvailRQCore.VendorPrefs vendorPrefs)
          Set the 'VendorPrefs' element value.
 int sizeDrivers()
          Get the number of 'DriverType' element items.
 int sizeRateQualifiers()
          Get the number of 'RateQualifier' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAvailRQCore

public VehicleAvailRQCore()
Method Detail

getVehRentalCore

public VehicleRentalCore getVehRentalCore()
Get the 'VehRentalCore' element value. Information that is common, or core, to all requests and responses associated with the reservation of a vehicle.

Returns:
value

setVehRentalCore

public void setVehRentalCore(VehicleRentalCore vehRentalCore)
Set the 'VehRentalCore' element value. Information that is common, or core, to all requests and responses associated with the reservation of a vehicle.

Parameters:
vehRentalCore -

getVendorPrefs

public VehicleAvailRQCore.VendorPrefs getVendorPrefs()
Get the 'VendorPrefs' element value.

Returns:
value

setVendorPrefs

public void setVendorPrefs(VehicleAvailRQCore.VendorPrefs vendorPrefs)
Set the 'VendorPrefs' element value.

Parameters:
vendorPrefs -

getVehPrefs

public VehicleAvailRQCore.VehPrefs getVehPrefs()
Get the 'VehPrefs' element value.

Returns:
value

setVehPrefs

public void setVehPrefs(VehicleAvailRQCore.VehPrefs vehPrefs)
Set the 'VehPrefs' element value.

Parameters:
vehPrefs -

getDrivers

public java.util.List<TravelerCountGroup> getDrivers()
Get the list of 'DriverType' element items. Indicates the number of people of each age category associated with this request.

Returns:
list

setDrivers

public void setDrivers(java.util.List<TravelerCountGroup> list)
Set the list of 'DriverType' element items. Indicates the number of people of each age category associated with this request.

Parameters:
list -

sizeDrivers

public int sizeDrivers()
Get the number of 'DriverType' element items.

Returns:
count

addDriver

public void addDriver(TravelerCountGroup item)
Add a 'DriverType' element item.

Parameters:
item -

getDriver

public TravelerCountGroup getDriver(int index)
Get 'DriverType' element item by position.

Parameters:
index -
Returns:
item

clearDrivers

public void clearDrivers()
Remove all 'DriverType' element items.


getRateQualifiers

public java.util.List<RateQualifierCoreGroup> getRateQualifiers()
Get the list of 'RateQualifier' element items. Indicates the type of rates of interest to the customer, along with any discount number or promotional codes that may affect the rate.

Returns:
list

setRateQualifiers

public void setRateQualifiers(java.util.List<RateQualifierCoreGroup> list)
Set the list of 'RateQualifier' element items. Indicates the type of rates of interest to the customer, along with any discount number or promotional codes that may affect the rate.

Parameters:
list -

sizeRateQualifiers

public int sizeRateQualifiers()
Get the number of 'RateQualifier' element items.

Returns:
count

addRateQualifier

public void addRateQualifier(RateQualifierCoreGroup item)
Add a 'RateQualifier' element item.

Parameters:
item -

getRateQualifier

public RateQualifierCoreGroup getRateQualifier(int index)
Get 'RateQualifier' element item by position.

Parameters:
index -
Returns:
item

clearRateQualifiers

public void clearRateQualifiers()
Remove all 'RateQualifier' element items.


getRateRange

public RateRangeGroup getRateRange()
Get the 'RateRangeGroup' attributeGroup value. The minimum and maximum amounts a customer is willing to pay.

Returns:
value

setRateRange

public void setRateRange(RateRangeGroup rateRange)
Set the 'RateRangeGroup' attributeGroup value. The minimum and maximum amounts a customer is willing to pay.

Parameters:
rateRange -

getSpecialEquipPrefs

public VehicleAvailRQCore.SpecialEquipPrefs getSpecialEquipPrefs()
Get the 'SpecialEquipPrefs' element value.

Returns:
value

setSpecialEquipPrefs

public void setSpecialEquipPrefs(VehicleAvailRQCore.SpecialEquipPrefs specialEquipPrefs)
Set the 'SpecialEquipPrefs' element value.

Parameters:
specialEquipPrefs -

getTPAExtensions

public TPAExtensions getTPAExtensions()
Get the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Returns:
value

setTPAExtensions

public void setTPAExtensions(TPAExtensions TPAExtensions)
Set the 'TPA_Extensions' element value. A placeholder in the schema to allow for additional elements and attributes to be included if required, per Trading Partner Agreement (TPA).

Parameters:
TPAExtensions -

getStatus

public InventoryStatus getStatus()
Get the 'Status' attribute value.

Returns:
value

setStatus

public void setStatus(InventoryStatus status)
Set the 'Status' attribute value.

Parameters:
status -

getTargetSource

public java.lang.String getTargetSource()
Get the 'TargetSource' attribute value. To specify from which source the information being requested should be obtained, e.g., vendor, GDS system, etc.

Returns:
value

setTargetSource

public void setTargetSource(java.lang.String targetSource)
Set the 'TargetSource' attribute value. To specify from which source the information being requested should be obtained, e.g., vendor, GDS system, etc.

Parameters:
targetSource -