|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.vehicle.VehicleRentalCore
public class VehicleRentalCore
The VehicleRentalCoreType complex type identifies the data that is common, or core, to almost every transaction associated with the rental of a vehicle. 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="VehicleRentalCoreType"> <xs:sequence> <xs:element name="PickUpLocation" minOccurs="0" maxOccurs="2"> <!-- Reference to inner class PickUpLocation --> </xs:element> <xs:element name="ReturnLocation" minOccurs="0"> <!-- Reference to inner class ReturnLocation --> </xs:element> </xs:sequence> <xs:attribute type="xs:dateTime" use="optional" name="PickUpDateTime"/> <xs:attribute type="xs:dateTime" use="optional" name="ReturnDateTime"/> <xs:attribute type="xs:dateTime" use="optional" name="StartChargesDateTime"/> <xs:attribute type="xs:dateTime" use="optional" name="StopChargesDateTime"/> <xs:attribute type="xs:boolean" use="optional" name="OneWayIndicator"/> <xs:attribute type="xs:int" use="optional" name="MultiIslandRentalDays"/> <xs:attribute type="xs:int" use="optional" name="Quantity"/> <xs:attribute type="ns:DistanceUnitNameType" use="optional" name="DistUnitName"/> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
VehicleRentalCore.PickUpLocation
A code to identify the pick up location, along with an optional code context. |
static class |
VehicleRentalCore.ReturnLocation
A code to identify the return location, along with an optional code context. |
Constructor Summary | |
---|---|
VehicleRentalCore()
|
Method Summary | |
---|---|
void |
addPickUpLocation(VehicleRentalCore.PickUpLocation item)
Add a 'PickUpLocation' element item. |
void |
clearPickUpLocations()
Remove all 'PickUpLocation' element items. |
DistanceUnitName |
getDistUnitName()
Get the 'DistUnitName' attribute value. |
java.lang.Integer |
getMultiIslandRentalDays()
Get the 'MultiIslandRentalDays' attribute value. |
java.lang.Boolean |
getOneWayIndicator()
Get the 'OneWayIndicator' attribute value. |
java.util.Date |
getPickUpDateTime()
Get the 'PickUpDateTime' attribute value. |
VehicleRentalCore.PickUpLocation |
getPickUpLocation(int index)
Get 'PickUpLocation' element item by position. |
java.util.List<VehicleRentalCore.PickUpLocation> |
getPickUpLocations()
Get the list of 'PickUpLocation' element items. |
java.lang.Integer |
getQuantity()
Get the 'Quantity' attribute value. |
java.util.Date |
getReturnDateTime()
Get the 'ReturnDateTime' attribute value. |
VehicleRentalCore.ReturnLocation |
getReturnLocation()
Get the 'ReturnLocation' element value. |
java.util.Date |
getStartChargesDateTime()
Get the 'StartChargesDateTime' attribute value. |
java.util.Date |
getStopChargesDateTime()
Get the 'StopChargesDateTime' attribute value. |
void |
setDistUnitName(DistanceUnitName distUnitName)
Set the 'DistUnitName' attribute value. |
void |
setMultiIslandRentalDays(java.lang.Integer multiIslandRentalDays)
Set the 'MultiIslandRentalDays' attribute value. |
void |
setOneWayIndicator(java.lang.Boolean oneWayIndicator)
Set the 'OneWayIndicator' attribute value. |
void |
setPickUpDateTime(java.util.Date pickUpDateTime)
Set the 'PickUpDateTime' attribute value. |
void |
setPickUpLocations(java.util.List<VehicleRentalCore.PickUpLocation> list)
Set the list of 'PickUpLocation' element items. |
void |
setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. |
void |
setReturnDateTime(java.util.Date returnDateTime)
Set the 'ReturnDateTime' attribute value. |
void |
setReturnLocation(VehicleRentalCore.ReturnLocation returnLocation)
Set the 'ReturnLocation' element value. |
void |
setStartChargesDateTime(java.util.Date startChargesDateTime)
Set the 'StartChargesDateTime' attribute value. |
void |
setStopChargesDateTime(java.util.Date stopChargesDateTime)
Set the 'StopChargesDateTime' attribute value. |
int |
sizePickUpLocations()
Get the number of 'PickUpLocation' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VehicleRentalCore()
Method Detail |
---|
public java.util.List<VehicleRentalCore.PickUpLocation> getPickUpLocations()
public void setPickUpLocations(java.util.List<VehicleRentalCore.PickUpLocation> list)
list
- public int sizePickUpLocations()
public void addPickUpLocation(VehicleRentalCore.PickUpLocation item)
item
- public VehicleRentalCore.PickUpLocation getPickUpLocation(int index)
index
-
public void clearPickUpLocations()
public VehicleRentalCore.ReturnLocation getReturnLocation()
public void setReturnLocation(VehicleRentalCore.ReturnLocation returnLocation)
returnLocation
- public java.util.Date getPickUpDateTime()
public void setPickUpDateTime(java.util.Date pickUpDateTime)
pickUpDateTime
- public java.util.Date getReturnDateTime()
public void setReturnDateTime(java.util.Date returnDateTime)
returnDateTime
- public java.util.Date getStartChargesDateTime()
public void setStartChargesDateTime(java.util.Date startChargesDateTime)
startChargesDateTime
- public java.util.Date getStopChargesDateTime()
public void setStopChargesDateTime(java.util.Date stopChargesDateTime)
stopChargesDateTime
- public java.lang.Boolean getOneWayIndicator()
public void setOneWayIndicator(java.lang.Boolean oneWayIndicator)
oneWayIndicator
- public java.lang.Integer getMultiIslandRentalDays()
public void setMultiIslandRentalDays(java.lang.Integer multiIslandRentalDays)
multiIslandRentalDays
- public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity
- public DistanceUnitName getDistUnitName()
public void setDistUnitName(DistanceUnitName distUnitName)
distUnitName
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |