org.ota.vehicle
Class VehicleReservation

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

public class VehicleReservation
extends java.lang.Object

The VehicleReservationType complex type identifies the data that describes a vehicle reservation. This data includes information on the customer(s) associated with the rental and details on the vehicle that is being rented. 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="VehicleReservationType">
   <xs:sequence>
     <xs:element type="ns:CustomerPrimaryAdditionalType" name="Customer" minOccurs="0"/>
     <xs:element name="VehSegmentCore">
       <xs:complexType>
         <xs:complexContent>
           <xs:extension base="ns:VehicleSegmentCoreType">
             <xs:attribute type="xs:boolean" use="optional" name="OptionChangeAllowedIndicator"/>
           </xs:extension>
         </xs:complexContent>
       </xs:complexType>
     </xs:element>
     <xs:element type="ns:VehicleSegmentAdditionalInfoType" name="VehSegmentInfo" minOccurs="0"/>
   </xs:sequence>
   <xs:attributeGroup ref="ns:DateTimeStampGroup"/>
   <xs:attribute type="xs:string" use="optional" name="ReservationStatus"/>
 </xs:complexType>
 


Constructor Summary
VehicleReservation()
           
 
Method Summary
 CustomerPrimaryAdditional getCustomer()
          Get the 'Customer' element value.
 DateTimeStampGroup getDateTimeStampGroup()
          Get the 'DateTimeStampGroup' attributeGroup value.
 java.lang.String getReservationStatus()
          Get the 'ReservationStatus' attribute value.
 java.lang.Boolean getVehSegmentCoreOptionChangeAllowedIndicator()
          Get the 'OptionChangeAllowedIndicator' attribute value.
 VehicleSegmentCore getVehSegmentCoreVehicleSegmentCore()
          Get the extension value.
 VehicleSegmentAdditionalInfo getVehSegmentInfo()
          Get the 'VehSegmentInfo' element value.
 void setCustomer(CustomerPrimaryAdditional customer)
          Set the 'Customer' element value.
 void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
          Set the 'DateTimeStampGroup' attributeGroup value.
 void setReservationStatus(java.lang.String reservationStatus)
          Set the 'ReservationStatus' attribute value.
 void setVehSegmentCoreOptionChangeAllowedIndicator(java.lang.Boolean vehSegmentCoreOptionChangeAllowedIndicator)
          Set the 'OptionChangeAllowedIndicator' attribute value.
 void setVehSegmentCoreVehicleSegmentCore(VehicleSegmentCore vehSegmentCoreVehicleSegmentCore)
          Set the extension value.
 void setVehSegmentInfo(VehicleSegmentAdditionalInfo vehSegmentInfo)
          Set the 'VehSegmentInfo' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleReservation

public VehicleReservation()
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 -

getVehSegmentCoreVehicleSegmentCore

public VehicleSegmentCore getVehSegmentCoreVehicleSegmentCore()
Get the extension value.

Returns:
value

setVehSegmentCoreVehicleSegmentCore

public void setVehSegmentCoreVehicleSegmentCore(VehicleSegmentCore vehSegmentCoreVehicleSegmentCore)
Set the extension value.

Parameters:
vehSegmentCoreVehicleSegmentCore -

getVehSegmentCoreOptionChangeAllowedIndicator

public java.lang.Boolean getVehSegmentCoreOptionChangeAllowedIndicator()
Get the 'OptionChangeAllowedIndicator' attribute value. When true, indicates that the options that may have changed since the availability response do not affect the rate.

Returns:
value

setVehSegmentCoreOptionChangeAllowedIndicator

public void setVehSegmentCoreOptionChangeAllowedIndicator(java.lang.Boolean vehSegmentCoreOptionChangeAllowedIndicator)
Set the 'OptionChangeAllowedIndicator' attribute value. When true, indicates that the options that may have changed since the availability response do not affect the rate.

Parameters:
vehSegmentCoreOptionChangeAllowedIndicator -

getVehSegmentInfo

public VehicleSegmentAdditionalInfo getVehSegmentInfo()
Get the 'VehSegmentInfo' element value. Supplemental information associated with a reservation period and a reserved vehicle.

Returns:
value

setVehSegmentInfo

public void setVehSegmentInfo(VehicleSegmentAdditionalInfo vehSegmentInfo)
Set the 'VehSegmentInfo' element value. Supplemental information associated with a reservation period and a reserved vehicle.

Parameters:
vehSegmentInfo -

getDateTimeStampGroup

public DateTimeStampGroup getDateTimeStampGroup()
Get the 'DateTimeStampGroup' attributeGroup value. Used to specify the date a reservation was created and last modified.

Returns:
value

setDateTimeStampGroup

public void setDateTimeStampGroup(DateTimeStampGroup dateTimeStampGroup)
Set the 'DateTimeStampGroup' attributeGroup value. Used to specify the date a reservation was created and last modified.

Parameters:
dateTimeStampGroup -

getReservationStatus

public java.lang.String getReservationStatus()
Get the 'ReservationStatus' attribute value. Used to specify the status of the reservation.

Returns:
value

setReservationStatus

public void setReservationStatus(java.lang.String reservationStatus)
Set the 'ReservationStatus' attribute value. Used to specify the status of the reservation.

Parameters:
reservationStatus -