org.ota.vehicle
Class VehicleAvailRQAdditionalInfo

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

public class VehicleAvailRQAdditionalInfo
extends java.lang.Object

The VehicleAvailRQAdditionalInfoType complex type identifies supplemental information that may be included 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="VehicleAvailRQAdditionalInfoType">
   <xs:sequence>
     <xs:element type="ns:CustomerPrimaryAdditionalType" name="Customer" minOccurs="0"/>
     <xs:element type="ns:VehicleSpecialReqPrefType" name="SpecialReqPref" minOccurs="0" maxOccurs="5"/>
     <xs:element name="CoveragePrefs" minOccurs="0">
       <!-- Reference to inner class CoveragePrefs -->
     </xs:element>
     <xs:element type="ns:OffLocationServiceType" name="OffLocService" minOccurs="0" maxOccurs="4"/>
     <xs:element type="ns:VehicleArrivalDetailsType" name="ArrivalDetails" minOccurs="0"/>
     <xs:element type="ns:VehicleTourInfoType" name="TourInfo" minOccurs="0"/>
     <xs:element ref="ns:TPA_Extensions" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:string" use="optional" name="LuggageQty"/>
   <xs:attribute type="xs:string" use="optional" name="PassengerQty"/>
   <xs:attributeGroup ref="ns:SmokingIndicatorGroup"/>
   <xs:attribute type="xs:boolean" use="optional" name="GasPrePay"/>
   <xs:attribute type="xs:boolean" use="optional" name="SingleQuote"/>
 </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"/>
 
 <xs:attributeGroup xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="SmokingIndicatorGroup">
   <xs:attribute type="xs:boolean" use="optional" name="SmokingAllowed"/>
 </xs:attributeGroup>
 


Nested Class Summary
static class VehicleAvailRQAdditionalInfo.CoveragePrefs
          Indicates the preferences for one or more types of coverage (insurance).
 
Constructor Summary
VehicleAvailRQAdditionalInfo()
           
 
Method Summary
 void addOffLocService(OffLocationService item)
          Add a 'OffLocService' element item.
 void addSpecialReqPref(VehicleSpecialReqPref item)
          Add a 'SpecialReqPref' element item.
 void clearOffLocServices()
          Remove all 'OffLocService' element items.
 void clearSpecialReqPrefs()
          Remove all 'SpecialReqPref' element items.
 VehicleArrivalDetails getArrivalDetails()
          Get the 'ArrivalDetails' element value.
 VehicleAvailRQAdditionalInfo.CoveragePrefs getCoveragePrefs()
          Get the 'CoveragePrefs' element value.
 CustomerPrimaryAdditional getCustomer()
          Get the 'Customer' element value.
 java.lang.Boolean getGasPrePay()
          Get the 'GasPrePay' attribute value.
 java.lang.String getLuggageQty()
          Get the 'LuggageQty' attribute value.
 OffLocationService getOffLocService(int index)
          Get 'OffLocService' element item by position.
 java.util.List<OffLocationService> getOffLocServices()
          Get the list of 'OffLocService' element items.
 java.lang.String getPassengerQty()
          Get the 'PassengerQty' attribute value.
 java.lang.Boolean getSingleQuote()
          Get the 'SingleQuote' attribute value.
 java.lang.Boolean getSmokingAllowed()
          Get the 'SmokingAllowed' attribute value.
 VehicleSpecialReqPref getSpecialReqPref(int index)
          Get 'SpecialReqPref' element item by position.
 java.util.List<VehicleSpecialReqPref> getSpecialReqPrefs()
          Get the list of 'SpecialReqPref' element items.
 VehicleTourInfo getTourInfo()
          Get the 'TourInfo' element value.
 TPAExtensions getTPAExtensions()
          Get the 'TPA_Extensions' element value.
 void setArrivalDetails(VehicleArrivalDetails arrivalDetails)
          Set the 'ArrivalDetails' element value.
 void setCoveragePrefs(VehicleAvailRQAdditionalInfo.CoveragePrefs coveragePrefs)
          Set the 'CoveragePrefs' element value.
 void setCustomer(CustomerPrimaryAdditional customer)
          Set the 'Customer' element value.
 void setGasPrePay(java.lang.Boolean gasPrePay)
          Set the 'GasPrePay' attribute value.
 void setLuggageQty(java.lang.String luggageQty)
          Set the 'LuggageQty' attribute value.
 void setOffLocServices(java.util.List<OffLocationService> list)
          Set the list of 'OffLocService' element items.
 void setPassengerQty(java.lang.String passengerQty)
          Set the 'PassengerQty' attribute value.
 void setSingleQuote(java.lang.Boolean singleQuote)
          Set the 'SingleQuote' attribute value.
 void setSmokingAllowed(java.lang.Boolean smokingAllowed)
          Set the 'SmokingAllowed' attribute value.
 void setSpecialReqPrefs(java.util.List<VehicleSpecialReqPref> list)
          Set the list of 'SpecialReqPref' element items.
 void setTourInfo(VehicleTourInfo tourInfo)
          Set the 'TourInfo' element value.
 void setTPAExtensions(TPAExtensions TPAExtensions)
          Set the 'TPA_Extensions' element value.
 int sizeOffLocServices()
          Get the number of 'OffLocService' element items.
 int sizeSpecialReqPrefs()
          Get the number of 'SpecialReqPref' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAvailRQAdditionalInfo

public VehicleAvailRQAdditionalInfo()
Method Detail

getCustomer

public CustomerPrimaryAdditional getCustomer()
Get the 'Customer' element value. Information on the one primary driver and, optionally, several additional drivers. This may be used to provide a frequent renter number.

Returns:
value

setCustomer

public void setCustomer(CustomerPrimaryAdditional customer)
Set the 'Customer' element value. Information on the one primary driver and, optionally, several additional drivers. This may be used to provide a frequent renter number.

Parameters:
customer -

getSpecialReqPrefs

public java.util.List<VehicleSpecialReqPref> getSpecialReqPrefs()
Get the list of 'SpecialReqPref' element items. Indicates the preference associated with special needs or requirements of the customer, described using free text

Returns:
list

setSpecialReqPrefs

public void setSpecialReqPrefs(java.util.List<VehicleSpecialReqPref> list)
Set the list of 'SpecialReqPref' element items. Indicates the preference associated with special needs or requirements of the customer, described using free text

Parameters:
list -

sizeSpecialReqPrefs

public int sizeSpecialReqPrefs()
Get the number of 'SpecialReqPref' element items.

Returns:
count

addSpecialReqPref

public void addSpecialReqPref(VehicleSpecialReqPref item)
Add a 'SpecialReqPref' element item.

Parameters:
item -

getSpecialReqPref

public VehicleSpecialReqPref getSpecialReqPref(int index)
Get 'SpecialReqPref' element item by position.

Parameters:
index -
Returns:
item

clearSpecialReqPrefs

public void clearSpecialReqPrefs()
Remove all 'SpecialReqPref' element items.


getCoveragePrefs

public VehicleAvailRQAdditionalInfo.CoveragePrefs getCoveragePrefs()
Get the 'CoveragePrefs' element value.

Returns:
value

setCoveragePrefs

public void setCoveragePrefs(VehicleAvailRQAdditionalInfo.CoveragePrefs coveragePrefs)
Set the 'CoveragePrefs' element value.

Parameters:
coveragePrefs -

getOffLocServices

public java.util.List<OffLocationService> getOffLocServices()
Get the list of 'OffLocService' element items. Information on requested off-airport location services, for example, vehicle delivery, customer pickup.

Returns:
list

setOffLocServices

public void setOffLocServices(java.util.List<OffLocationService> list)
Set the list of 'OffLocService' element items. Information on requested off-airport location services, for example, vehicle delivery, customer pickup.

Parameters:
list -

sizeOffLocServices

public int sizeOffLocServices()
Get the number of 'OffLocService' element items.

Returns:
count

addOffLocService

public void addOffLocService(OffLocationService item)
Add a 'OffLocService' element item.

Parameters:
item -

getOffLocService

public OffLocationService getOffLocService(int index)
Get 'OffLocService' element item by position.

Parameters:
index -
Returns:
item

clearOffLocServices

public void clearOffLocServices()
Remove all 'OffLocService' element items.


getArrivalDetails

public VehicleArrivalDetails getArrivalDetails()
Get the 'ArrivalDetails' element value. Details of the arrival transportation, if applicable

Returns:
value

setArrivalDetails

public void setArrivalDetails(VehicleArrivalDetails arrivalDetails)
Set the 'ArrivalDetails' element value. Details of the arrival transportation, if applicable

Parameters:
arrivalDetails -

getTourInfo

public VehicleTourInfo getTourInfo()
Get the 'TourInfo' element value. Details of a tour with which this availability information is associated. Availability and rate information may vary if associated with a tour.

Returns:
value

setTourInfo

public void setTourInfo(VehicleTourInfo tourInfo)
Set the 'TourInfo' element value. Details of a tour with which this availability information is associated. Availability and rate information may vary if associated with a tour.

Parameters:
tourInfo -

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 -

getLuggageQty

public java.lang.String getLuggageQty()
Get the 'LuggageQty' attribute value.

Returns:
value

setLuggageQty

public void setLuggageQty(java.lang.String luggageQty)
Set the 'LuggageQty' attribute value.

Parameters:
luggageQty -

getPassengerQty

public java.lang.String getPassengerQty()
Get the 'PassengerQty' attribute value.

Returns:
value

setPassengerQty

public void setPassengerQty(java.lang.String passengerQty)
Set the 'PassengerQty' attribute value.

Parameters:
passengerQty -

getSmokingAllowed

public java.lang.Boolean getSmokingAllowed()
Get the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Returns:
value

setSmokingAllowed

public void setSmokingAllowed(java.lang.Boolean smokingAllowed)
Set the 'SmokingAllowed' attribute value. Indicates smoking is allowed when true and is not allowed when false. false

Parameters:
smokingAllowed -

getGasPrePay

public java.lang.Boolean getGasPrePay()
Get the 'GasPrePay' attribute value. The GasPrePay attribute defines a set of valid values for the choice of prepaying for gas at the time of the pick up of the rental vehicle. This information is useful in that it allows a customer's preference to be made known to the vendor. It also allows the vendor to provide more detailed and accurate pricing up front. false

Returns:
value

setGasPrePay

public void setGasPrePay(java.lang.Boolean gasPrePay)
Set the 'GasPrePay' attribute value. The GasPrePay attribute defines a set of valid values for the choice of prepaying for gas at the time of the pick up of the rental vehicle. This information is useful in that it allows a customer's preference to be made known to the vendor. It also allows the vendor to provide more detailed and accurate pricing up front. false

Parameters:
gasPrePay -

getSingleQuote

public java.lang.Boolean getSingleQuote()
Get the 'SingleQuote' attribute value. Allows the requestor to indicate if the response should contain a single rate for each product or multiple rates for each product. Multiple rates may be offered when different terms and conditions may apply, for example pre-paid versus payment at time of rental. The use of multiple rates may vary from vendor to vendor and is by agreement of the trading partners.

Returns:
value

setSingleQuote

public void setSingleQuote(java.lang.Boolean singleQuote)
Set the 'SingleQuote' attribute value. Allows the requestor to indicate if the response should contain a single rate for each product or multiple rates for each product. Multiple rates may be offered when different terms and conditions may apply, for example pre-paid versus payment at time of rental. The use of multiple rates may vary from vendor to vendor and is by agreement of the trading partners.

Parameters:
singleQuote -