org.ota.vehicle
Class VehicleCancelRQAdditionalInfo.RentalInfo

java.lang.Object
  extended by org.ota.vehicle.VehicleCancelRQAdditionalInfo.RentalInfo
Enclosing class:
VehicleCancelRQAdditionalInfo

public static class VehicleCancelRQAdditionalInfo.RentalInfo
extends java.lang.Object

Summary information about the reservation, including locations, dates, etc. 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="RentalInfo" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element type="ns:LocationType" name="PickUpLocation" minOccurs="0"/>
       <xs:element type="ns:LocationType" name="ReturnLocation" minOccurs="0"/>
     </xs:sequence>
     <xs:attribute type="xs:dateTime" use="optional" name="PickUpDateTime"/>
     <xs:attribute type="xs:dateTime" use="optional" name="ReturnDateTime"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
VehicleCancelRQAdditionalInfo.RentalInfo()
           
 
Method Summary
 java.util.Date getPickUpDateTime()
          Get the 'PickUpDateTime' attribute value.
 Location getPickUpLocation()
          Get the 'PickUpLocation' element value.
 java.util.Date getReturnDateTime()
          Get the 'ReturnDateTime' attribute value.
 Location getReturnLocation()
          Get the 'ReturnLocation' element value.
 void setPickUpDateTime(java.util.Date pickUpDateTime)
          Set the 'PickUpDateTime' attribute value.
 void setPickUpLocation(Location pickUpLocation)
          Set the 'PickUpLocation' element value.
 void setReturnDateTime(java.util.Date returnDateTime)
          Set the 'ReturnDateTime' attribute value.
 void setReturnLocation(Location returnLocation)
          Set the 'ReturnLocation' element value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleCancelRQAdditionalInfo.RentalInfo

public VehicleCancelRQAdditionalInfo.RentalInfo()
Method Detail

getPickUpLocation

public Location getPickUpLocation()
Get the 'PickUpLocation' element value. A code to identify the pick up location, along with an optional code context.

Returns:
value

setPickUpLocation

public void setPickUpLocation(Location pickUpLocation)
Set the 'PickUpLocation' element value. A code to identify the pick up location, along with an optional code context.

Parameters:
pickUpLocation -

getReturnLocation

public Location getReturnLocation()
Get the 'ReturnLocation' element value. A code to identify the return location, along with an optional code context.

Returns:
value

setReturnLocation

public void setReturnLocation(Location returnLocation)
Set the 'ReturnLocation' element value. A code to identify the return location, along with an optional code context.

Parameters:
returnLocation -

getPickUpDateTime

public java.util.Date getPickUpDateTime()
Get the 'PickUpDateTime' attribute value. The PickUpDateTime attribute provides information on the pickup date and time.

Returns:
value

setPickUpDateTime

public void setPickUpDateTime(java.util.Date pickUpDateTime)
Set the 'PickUpDateTime' attribute value. The PickUpDateTime attribute provides information on the pickup date and time.

Parameters:
pickUpDateTime -

getReturnDateTime

public java.util.Date getReturnDateTime()
Get the 'ReturnDateTime' attribute value. The ReturnDateTime attribute provides information on the return date and time.

Returns:
value

setReturnDateTime

public void setReturnDateTime(java.util.Date returnDateTime)
Set the 'ReturnDateTime' attribute value. The ReturnDateTime attribute provides information on the return date and time.

Parameters:
returnDateTime -