|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.vehicle.VehicleRentalRate
public class VehicleRentalRate
This describes time, mileage and other charges. 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="VehicleRentalRateType"> <xs:sequence> <xs:element name="RateDistance" minOccurs="0" maxOccurs="5"> <xs:complexType> <xs:attributeGroup ref="ns:VehicleRateDistanceGroup"/> </xs:complexType> </xs:element> <xs:element name="VehicleCharges" minOccurs="0"> <!-- Reference to inner class VehicleCharges --> </xs:element> <xs:element name="RateQualifier" minOccurs="0"> <!-- Reference to inner class RateQualifier --> </xs:element> <xs:element name="RateRestrictions" minOccurs="0"> <!-- Reference to inner class RateRestrictions --> </xs:element> <xs:element name="RateGuarantee" minOccurs="0"> <!-- Reference to inner class RateGuarantee --> </xs:element> <xs:element name="PickupReturnRule" minOccurs="0" maxOccurs="3"> <!-- Reference to inner class PickupReturnRule --> </xs:element> </xs:sequence> </xs:complexType>
Nested Class Summary | |
---|---|
static class |
VehicleRentalRate.PickupReturnRule
Pickup and return requirements for a specific rate. |
static class |
VehicleRentalRate.RateGuarantee
Used to indicate how long a specific rate is guaranteed. |
static class |
VehicleRentalRate.RateQualifier
Indicates the type of rates applicable to the customer, along with any discount number or promotional codes that affect the quoted rate. |
static class |
VehicleRentalRate.RateRestrictions
Information on restrictions that may be associated with this rate. |
static class |
VehicleRentalRate.VehicleCharges
Information on the charges associated with this vehicle. |
Constructor Summary | |
---|---|
VehicleRentalRate()
|
Method Summary | |
---|---|
void |
addPickupReturnRule(VehicleRentalRate.PickupReturnRule item)
Add a 'PickupReturnRule' element item. |
void |
addRateDistance(VehicleRateDistanceGroup item)
Add a 'RateDistance' element item. |
void |
clearPickupReturnRules()
Remove all 'PickupReturnRule' element items. |
void |
clearRateDistances()
Remove all 'RateDistance' element items. |
VehicleRentalRate.PickupReturnRule |
getPickupReturnRule(int index)
Get 'PickupReturnRule' element item by position. |
java.util.List<VehicleRentalRate.PickupReturnRule> |
getPickupReturnRules()
Get the list of 'PickupReturnRule' element items. |
VehicleRateDistanceGroup |
getRateDistance(int index)
Get 'RateDistance' element item by position. |
java.util.List<VehicleRateDistanceGroup> |
getRateDistances()
Get the list of 'RateDistance' element items. |
VehicleRentalRate.RateGuarantee |
getRateGuarantee()
Get the 'RateGuarantee' element value. |
VehicleRentalRate.RateQualifier |
getRateQualifier()
Get the 'RateQualifier' element value. |
VehicleRentalRate.RateRestrictions |
getRateRestrictions()
Get the 'RateRestrictions' element value. |
VehicleRentalRate.VehicleCharges |
getVehicleCharges()
Get the 'VehicleCharges' element value. |
void |
setPickupReturnRules(java.util.List<VehicleRentalRate.PickupReturnRule> list)
Set the list of 'PickupReturnRule' element items. |
void |
setRateDistances(java.util.List<VehicleRateDistanceGroup> list)
Set the list of 'RateDistance' element items. |
void |
setRateGuarantee(VehicleRentalRate.RateGuarantee rateGuarantee)
Set the 'RateGuarantee' element value. |
void |
setRateQualifier(VehicleRentalRate.RateQualifier rateQualifier)
Set the 'RateQualifier' element value. |
void |
setRateRestrictions(VehicleRentalRate.RateRestrictions rateRestrictions)
Set the 'RateRestrictions' element value. |
void |
setVehicleCharges(VehicleRentalRate.VehicleCharges vehicleCharges)
Set the 'VehicleCharges' element value. |
int |
sizePickupReturnRules()
Get the number of 'PickupReturnRule' element items. |
int |
sizeRateDistances()
Get the number of 'RateDistance' element items. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VehicleRentalRate()
Method Detail |
---|
public java.util.List<VehicleRateDistanceGroup> getRateDistances()
public void setRateDistances(java.util.List<VehicleRateDistanceGroup> list)
list
- public int sizeRateDistances()
public void addRateDistance(VehicleRateDistanceGroup item)
item
- public VehicleRateDistanceGroup getRateDistance(int index)
index
-
public void clearRateDistances()
public VehicleRentalRate.VehicleCharges getVehicleCharges()
public void setVehicleCharges(VehicleRentalRate.VehicleCharges vehicleCharges)
vehicleCharges
- public VehicleRentalRate.RateQualifier getRateQualifier()
public void setRateQualifier(VehicleRentalRate.RateQualifier rateQualifier)
rateQualifier
- public VehicleRentalRate.RateRestrictions getRateRestrictions()
public void setRateRestrictions(VehicleRentalRate.RateRestrictions rateRestrictions)
rateRestrictions
- public VehicleRentalRate.RateGuarantee getRateGuarantee()
public void setRateGuarantee(VehicleRentalRate.RateGuarantee rateGuarantee)
rateGuarantee
- public java.util.List<VehicleRentalRate.PickupReturnRule> getPickupReturnRules()
public void setPickupReturnRules(java.util.List<VehicleRentalRate.PickupReturnRule> list)
list
- public int sizePickupReturnRules()
public void addPickupReturnRule(VehicleRentalRate.PickupReturnRule item)
item
- public VehicleRentalRate.PickupReturnRule getPickupReturnRule(int index)
index
-
public void clearPickupReturnRules()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |