org.ota.vehicle
Class VehicleModifyRQAdditionalInfo

java.lang.Object
  extended by org.ota.vehicle.VehicleModifyRQAdditionalInfo
Direct Known Subclasses:
ModifyRQ.VehModifyRQInfo

public class VehicleModifyRQAdditionalInfo
extends java.lang.Object

The VehicleModifyRQAdditionalInfoType complex type identifies the data that is supplemental in a request to modify an existing vehicle reservation. 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="VehicleModifyRQAdditionalInfoType">
   <xs:sequence>
     <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:PaymentDetailType" name="RentalPaymentPref" minOccurs="0" maxOccurs="5"/>
     <xs:element name="Reference" minOccurs="0">
       <!-- Reference to inner class Reference -->
     </xs:element>
     <xs:element type="ns:VehicleTourInfoType" name="TourInfo" minOccurs="0"/>
     <xs:element type="ns:WrittenConfInstType" name="WrittenConfInst" minOccurs="0"/>
     <xs:element type="ns:ParagraphType" name="Remark" minOccurs="0" maxOccurs="5"/>
     <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: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 VehicleModifyRQAdditionalInfo.CoveragePrefs
          Indicates the preferences for one or more types of coverage (insurance).
static class VehicleModifyRQAdditionalInfo.Reference
          Information identifying an earlier availability quote.
 
Constructor Summary
VehicleModifyRQAdditionalInfo()
           
 
Method Summary
 void addOffLocService(OffLocationService item)
          Add a 'OffLocService' element item.
 void addRemark(Paragraph item)
          Add a 'Remark' element item.
 void addRentalPaymentPref(PaymentDetail item)
          Add a 'RentalPaymentPref' element item.
 void addSpecialReqPref(VehicleSpecialReqPref item)
          Add a 'SpecialReqPref' element item.
 void clearOffLocServices()
          Remove all 'OffLocService' element items.
 void clearRemarks()
          Remove all 'Remark' element items.
 void clearRentalPaymentPrefs()
          Remove all 'RentalPaymentPref' element items.
 void clearSpecialReqPrefs()
          Remove all 'SpecialReqPref' element items.
 VehicleArrivalDetails getArrivalDetails()
          Get the 'ArrivalDetails' element value.
 VehicleModifyRQAdditionalInfo.CoveragePrefs getCoveragePrefs()
          Get the 'CoveragePrefs' 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.
 VehicleModifyRQAdditionalInfo.Reference getReference()
          Get the 'Reference' element value.
 Paragraph getRemark(int index)
          Get 'Remark' element item by position.
 java.util.List<Paragraph> getRemarks()
          Get the list of 'Remark' element items.
 PaymentDetail getRentalPaymentPref(int index)
          Get 'RentalPaymentPref' element item by position.
 java.util.List<PaymentDetail> getRentalPaymentPrefs()
          Get the list of 'RentalPaymentPref' element items.
 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.
 WrittenConfInst getWrittenConfInst()
          Get the 'WrittenConfInst' element value.
 void setArrivalDetails(VehicleArrivalDetails arrivalDetails)
          Set the 'ArrivalDetails' element value.
 void setCoveragePrefs(VehicleModifyRQAdditionalInfo.CoveragePrefs coveragePrefs)
          Set the 'CoveragePrefs' 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 setReference(VehicleModifyRQAdditionalInfo.Reference reference)
          Set the 'Reference' element value.
 void setRemarks(java.util.List<Paragraph> list)
          Set the list of 'Remark' element items.
 void setRentalPaymentPrefs(java.util.List<PaymentDetail> list)
          Set the list of 'RentalPaymentPref' element items.
 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.
 void setWrittenConfInst(WrittenConfInst writtenConfInst)
          Set the 'WrittenConfInst' element value.
 int sizeOffLocServices()
          Get the number of 'OffLocService' element items.
 int sizeRemarks()
          Get the number of 'Remark' element items.
 int sizeRentalPaymentPrefs()
          Get the number of 'RentalPaymentPref' 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

VehicleModifyRQAdditionalInfo

public VehicleModifyRQAdditionalInfo()
Method Detail

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 VehicleModifyRQAdditionalInfo.CoveragePrefs getCoveragePrefs()
Get the 'CoveragePrefs' element value.

Returns:
value

setCoveragePrefs

public void setCoveragePrefs(VehicleModifyRQAdditionalInfo.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 -

getRentalPaymentPrefs

public java.util.List<PaymentDetail> getRentalPaymentPrefs()
Get the list of 'RentalPaymentPref' element items. Indicates preferences for the form of payment that will be used, if the request results in a reservation. This element may repeat for different rental payment preferences.

Returns:
list

setRentalPaymentPrefs

public void setRentalPaymentPrefs(java.util.List<PaymentDetail> list)
Set the list of 'RentalPaymentPref' element items. Indicates preferences for the form of payment that will be used, if the request results in a reservation. This element may repeat for different rental payment preferences.

Parameters:
list -

sizeRentalPaymentPrefs

public int sizeRentalPaymentPrefs()
Get the number of 'RentalPaymentPref' element items.

Returns:
count

addRentalPaymentPref

public void addRentalPaymentPref(PaymentDetail item)
Add a 'RentalPaymentPref' element item.

Parameters:
item -

getRentalPaymentPref

public PaymentDetail getRentalPaymentPref(int index)
Get 'RentalPaymentPref' element item by position.

Parameters:
index -
Returns:
item

clearRentalPaymentPrefs

public void clearRentalPaymentPrefs()
Remove all 'RentalPaymentPref' element items.


getReference

public VehicleModifyRQAdditionalInfo.Reference getReference()
Get the 'Reference' element value.

Returns:
value

setReference

public void setReference(VehicleModifyRQAdditionalInfo.Reference reference)
Set the 'Reference' element value.

Parameters:
reference -

getTourInfo

public VehicleTourInfo getTourInfo()
Get the 'TourInfo' element value. Details of a tour with which this reservation information is associated. 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 reservation information is associated. Rate information may vary if associated with a tour.

Parameters:
tourInfo -

getWrittenConfInst

public WrittenConfInst getWrittenConfInst()
Get the 'WrittenConfInst' element value. Used to provide instructions regarding cusotmer preferences for receiving confirmation information.

Returns:
value

setWrittenConfInst

public void setWrittenConfInst(WrittenConfInst writtenConfInst)
Set the 'WrittenConfInst' element value. Used to provide instructions regarding cusotmer preferences for receiving confirmation information.

Parameters:
writtenConfInst -

getRemarks

public java.util.List<Paragraph> getRemarks()
Get the list of 'Remark' element items. Free text description regarding the rental modification .

Returns:
list

setRemarks

public void setRemarks(java.util.List<Paragraph> list)
Set the list of 'Remark' element items. Free text description regarding the rental modification .

Parameters:
list -

sizeRemarks

public int sizeRemarks()
Get the number of 'Remark' element items.

Returns:
count

addRemark

public void addRemark(Paragraph item)
Add a 'Remark' element item.

Parameters:
item -

getRemark

public Paragraph getRemark(int index)
Get 'Remark' element item by position.

Parameters:
index -
Returns:
item

clearRemarks

public void clearRemarks()
Remove all 'Remark' element items.


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 -