|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.vehicle.VehicleRentalTransaction
public class VehicleRentalTransaction
This contains the information typically used in a rental transaction, such as charges, contract number or pickup date/time. 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="VehicleRentalTransactionType">
<xs:sequence>
<xs:element name="PickUpReturnDetails" minOccurs="0" maxOccurs="2">
<!-- Reference to inner class PickUpReturnDetails -->
</xs:element>
<xs:element name="Vehicle">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ns:VehicleType">
<xs:sequence>
<xs:element type="ns:VehicleRentalDetailsType" name="VehRentalDetails" minOccurs="0" maxOccurs="2"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element type="ns:VehicleRentalRateType" name="RentalRate" minOccurs="0"/>
<xs:element name="PricedEquips" minOccurs="0">
<!-- Reference to inner class PricedEquips -->
</xs:element>
<xs:element name="Fees" minOccurs="0">
<!-- Reference to inner class Fees -->
</xs:element>
<xs:element name="TotalCharge" minOccurs="0">
<xs:complexType>
<xs:attributeGroup ref="ns:VehicleTotalChargeGroup"/>
</xs:complexType>
</xs:element>
<xs:element type="ns:UniqueID_Type" name="ConfID" minOccurs="0"/>
<xs:element type="ns:UniqueID_Type" name="ContractID" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
VehicleRentalTransaction.Fees
A collection of fees associated with this rental. |
static class |
VehicleRentalTransaction.PickUpReturnDetails
Actual rental checkout and expected return locations, dates and times. |
static class |
VehicleRentalTransaction.PricedEquips
A collection of special equipment that is part of this reservation, along with the charges associated with this equipment. |
| Constructor Summary | |
|---|---|
VehicleRentalTransaction()
|
|
| Method Summary | |
|---|---|
void |
addPickUpReturnDetail(VehicleRentalTransaction.PickUpReturnDetails item)
Add a 'PickUpReturnDetails' element item. |
void |
addVehicleVehRentalDetail(VehicleRentalDetails item)
Add a 'VehRentalDetails' element item. |
void |
clearPickUpReturnDetails()
Remove all 'PickUpReturnDetails' element items. |
void |
clearVehicleVehRentalDetails()
Remove all 'VehRentalDetails' element items. |
UniqueID |
getConfID()
Get the 'ConfID' element value. |
UniqueID |
getContractID()
Get the 'ContractID' element value. |
VehicleRentalTransaction.Fees |
getFees()
Get the 'Fees' element value. |
VehicleRentalTransaction.PickUpReturnDetails |
getPickUpReturnDetail(int index)
Get 'PickUpReturnDetails' element item by position. |
java.util.List<VehicleRentalTransaction.PickUpReturnDetails> |
getPickUpReturnDetails()
Get the list of 'PickUpReturnDetails' element items. |
VehicleRentalTransaction.PricedEquips |
getPricedEquips()
Get the 'PricedEquips' element value. |
VehicleRentalRate |
getRentalRate()
Get the 'RentalRate' element value. |
VehicleTotalChargeGroup |
getTotalCharge()
Get the 'VehicleTotalChargeGroup' attributeGroup value. |
Vehicle |
getVehicleVehicle()
Get the extension value. |
VehicleRentalDetails |
getVehicleVehRentalDetail(int index)
Get 'VehRentalDetails' element item by position. |
java.util.List<VehicleRentalDetails> |
getVehicleVehRentalDetails()
Get the list of 'VehRentalDetails' element items. |
void |
setConfID(UniqueID confID)
Set the 'ConfID' element value. |
void |
setContractID(UniqueID contractID)
Set the 'ContractID' element value. |
void |
setFees(VehicleRentalTransaction.Fees fees)
Set the 'Fees' element value. |
void |
setPickUpReturnDetails(java.util.List<VehicleRentalTransaction.PickUpReturnDetails> list)
Set the list of 'PickUpReturnDetails' element items. |
void |
setPricedEquips(VehicleRentalTransaction.PricedEquips pricedEquips)
Set the 'PricedEquips' element value. |
void |
setRentalRate(VehicleRentalRate rentalRate)
Set the 'RentalRate' element value. |
void |
setTotalCharge(VehicleTotalChargeGroup totalCharge)
Set the 'VehicleTotalChargeGroup' attributeGroup value. |
void |
setVehicleVehicle(Vehicle vehicleVehicle)
Set the extension value. |
void |
setVehicleVehRentalDetails(java.util.List<VehicleRentalDetails> list)
Set the list of 'VehRentalDetails' element items. |
int |
sizePickUpReturnDetails()
Get the number of 'PickUpReturnDetails' element items. |
int |
sizeVehicleVehRentalDetails()
Get the number of 'VehRentalDetails' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VehicleRentalTransaction()
| Method Detail |
|---|
public java.util.List<VehicleRentalTransaction.PickUpReturnDetails> getPickUpReturnDetails()
public void setPickUpReturnDetails(java.util.List<VehicleRentalTransaction.PickUpReturnDetails> list)
list - public int sizePickUpReturnDetails()
public void addPickUpReturnDetail(VehicleRentalTransaction.PickUpReturnDetails item)
item - public VehicleRentalTransaction.PickUpReturnDetails getPickUpReturnDetail(int index)
index -
public void clearPickUpReturnDetails()
public Vehicle getVehicleVehicle()
public void setVehicleVehicle(Vehicle vehicleVehicle)
vehicleVehicle - public java.util.List<VehicleRentalDetails> getVehicleVehRentalDetails()
public void setVehicleVehRentalDetails(java.util.List<VehicleRentalDetails> list)
list - public int sizeVehicleVehRentalDetails()
public void addVehicleVehRentalDetail(VehicleRentalDetails item)
item - public VehicleRentalDetails getVehicleVehRentalDetail(int index)
index -
public void clearVehicleVehRentalDetails()
public VehicleRentalRate getRentalRate()
public void setRentalRate(VehicleRentalRate rentalRate)
rentalRate - public VehicleRentalTransaction.PricedEquips getPricedEquips()
public void setPricedEquips(VehicleRentalTransaction.PricedEquips pricedEquips)
pricedEquips - public VehicleRentalTransaction.Fees getFees()
public void setFees(VehicleRentalTransaction.Fees fees)
fees - public VehicleTotalChargeGroup getTotalCharge()
public void setTotalCharge(VehicleTotalChargeGroup totalCharge)
totalCharge - public UniqueID getConfID()
public void setConfID(UniqueID confID)
confID - public UniqueID getContractID()
public void setContractID(UniqueID contractID)
contractID -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||