org.ota.vehicle
Class RateRuleRS.RentalRate

java.lang.Object
  extended by org.ota.vehicle.VehicleRentalRate
      extended by org.ota.vehicle.RateRuleRS.RentalRate
Enclosing class:
RateRuleRS

public static class RateRuleRS.RentalRate
extends VehicleRentalRate

Information on the rates associated with this vehicle. Rate information can include the distance and the base rental cost, along with information on the various factors that may infuence this rate. This element may repeat to allow different distances to be made available for different charges. For example, $20.00 with 100 miles per day or $30.00 for unlimited mileage. 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="RentalRate" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:VehicleRentalRateType">
         <xs:attribute type="xs:boolean" use="optional" name="WrittenConfInd"/>
         <xs:attribute type="ns:InventoryStatusType" use="optional" name="Status"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ota.vehicle.VehicleRentalRate
VehicleRentalRate.PickupReturnRule, VehicleRentalRate.RateGuarantee, VehicleRentalRate.RateQualifier, VehicleRentalRate.RateRestrictions, VehicleRentalRate.VehicleCharges
 
Constructor Summary
RateRuleRS.RentalRate()
           
 
Method Summary
 InventoryStatus getStatus()
          Get the 'Status' attribute value.
 java.lang.Boolean getWrittenConfInd()
          Get the 'WrittenConfInd' attribute value.
 void setStatus(InventoryStatus status)
          Set the 'Status' attribute value.
 void setWrittenConfInd(java.lang.Boolean writtenConfInd)
          Set the 'WrittenConfInd' attribute value.
 
Methods inherited from class org.ota.vehicle.VehicleRentalRate
addPickupReturnRule, addRateDistance, clearPickupReturnRules, clearRateDistances, getPickupReturnRule, getPickupReturnRules, getRateDistance, getRateDistances, getRateGuarantee, getRateQualifier, getRateRestrictions, getVehicleCharges, setPickupReturnRules, setRateDistances, setRateGuarantee, setRateQualifier, setRateRestrictions, setVehicleCharges, sizePickupReturnRules, sizeRateDistances
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateRuleRS.RentalRate

public RateRuleRS.RentalRate()
Method Detail

getWrittenConfInd

public java.lang.Boolean getWrittenConfInd()
Get the 'WrittenConfInd' attribute value. When true, a written confimation may be provided for this rental rate.

Returns:
value

setWrittenConfInd

public void setWrittenConfInd(java.lang.Boolean writtenConfInd)
Set the 'WrittenConfInd' attribute value. When true, a written confimation may be provided for this rental rate.

Parameters:
writtenConfInd -

getStatus

public InventoryStatus getStatus()
Get the 'Status' attribute value. Indicates the status of the rate.

Returns:
value

setStatus

public void setStatus(InventoryStatus status)
Set the 'Status' attribute value. Indicates the status of the rate.

Parameters:
status -