org.ota.vehicle
Class RateNotifRQ.Rate

java.lang.Object
  extended by org.ota.vehicle.VehicleRentalRate
      extended by org.ota.vehicle.RateNotifRQ.Rate
Enclosing class:
RateNotifRQ

public static class RateNotifRQ.Rate
extends VehicleRentalRate

Provides either a rate qualifier or all information for a specific car rental rate. 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="Rate" maxOccurs="999">
   <xs:complexType>
     <xs:complexContent>
       <xs:extension base="ns:VehicleRentalRateType">
         <xs:sequence>
           <xs:element name="ProcessingInfo">
             <xs:complexType>
               <xs:attributeGroup ref="ns:ProcessingInfoGroup"/>
             </xs:complexType>
           </xs:element>
           <xs:element type="ns:LocationType" name="PickUpLocation" minOccurs="0" maxOccurs="99"/>
           <xs:element type="ns:VehicleType" name="Vehicle" minOccurs="0"/>
           <xs:element name="RuleIDs" minOccurs="0">
             <!-- Reference to inner class RuleIDs -->
           </xs:element>
           <xs:element name="AdvanceBooking" minOccurs="0">
             <xs:complexType>
               <xs:attributeGroup ref="ns:DeadlineGroup"/>
             </xs:complexType>
           </xs:element>
           <xs:element name="PointOfSaleRestriction" minOccurs="0">
             <!-- Reference to inner class PointOfSaleRestriction -->
           </xs:element>
         </xs:sequence>
         <xs:attribute type="xs:string" use="optional" name="ID"/>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RateNotifRQ.Rate.PointOfSaleRestriction
          Identifies the points of sale that are allowed or excluded from selling this rate.
static class RateNotifRQ.Rate.RuleIDs
          A collection of rule indentifiers.
 
Nested classes/interfaces inherited from class org.ota.vehicle.VehicleRentalRate
VehicleRentalRate.PickupReturnRule, VehicleRentalRate.RateGuarantee, VehicleRentalRate.RateQualifier, VehicleRentalRate.RateRestrictions, VehicleRentalRate.VehicleCharges
 
Constructor Summary
RateNotifRQ.Rate()
           
 
Method Summary
 void addPickUpLocation(Location item)
          Add a 'PickUpLocation' element item.
 void clearPickUpLocations()
          Remove all 'PickUpLocation' element items.
 DeadlineGroup getAdvanceBooking()
          Get the 'DeadlineGroup' attributeGroup value.
 java.lang.String getID()
          Get the 'ID' attribute value.
 Location getPickUpLocation(int index)
          Get 'PickUpLocation' element item by position.
 java.util.List<Location> getPickUpLocations()
          Get the list of 'PickUpLocation' element items.
 RateNotifRQ.Rate.PointOfSaleRestriction getPointOfSaleRestriction()
          Get the 'PointOfSaleRestriction' element value.
 ProcessingInfoGroup getProcessingInfo()
          Get the 'ProcessingInfoGroup' attributeGroup value.
 RateNotifRQ.Rate.RuleIDs getRuleIDs()
          Get the 'RuleIDs' element value.
 Vehicle getVehicle()
          Get the 'Vehicle' element value.
 void setAdvanceBooking(DeadlineGroup advanceBooking)
          Set the 'DeadlineGroup' attributeGroup value.
 void setID(java.lang.String ID)
          Set the 'ID' attribute value.
 void setPickUpLocations(java.util.List<Location> list)
          Set the list of 'PickUpLocation' element items.
 void setPointOfSaleRestriction(RateNotifRQ.Rate.PointOfSaleRestriction pointOfSaleRestriction)
          Set the 'PointOfSaleRestriction' element value.
 void setProcessingInfo(ProcessingInfoGroup processingInfo)
          Set the 'ProcessingInfoGroup' attributeGroup value.
 void setRuleIDs(RateNotifRQ.Rate.RuleIDs ruleIDs)
          Set the 'RuleIDs' element value.
 void setVehicle(Vehicle vehicle)
          Set the 'Vehicle' element value.
 int sizePickUpLocations()
          Get the number of 'PickUpLocation' element items.
 
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

RateNotifRQ.Rate

public RateNotifRQ.Rate()
Method Detail

getProcessingInfo

public ProcessingInfoGroup getProcessingInfo()
Get the 'ProcessingInfoGroup' attributeGroup value. To specifiy the action to be taken on this information and the effective and discontinue dates.

Returns:
value

setProcessingInfo

public void setProcessingInfo(ProcessingInfoGroup processingInfo)
Set the 'ProcessingInfoGroup' attributeGroup value. To specifiy the action to be taken on this information and the effective and discontinue dates.

Parameters:
processingInfo -

getPickUpLocations

public java.util.List<Location> getPickUpLocations()
Get the list of 'PickUpLocation' element items. Identifies a pick up location

Returns:
list

setPickUpLocations

public void setPickUpLocations(java.util.List<Location> list)
Set the list of 'PickUpLocation' element items. Identifies a pick up location

Parameters:
list -

sizePickUpLocations

public int sizePickUpLocations()
Get the number of 'PickUpLocation' element items.

Returns:
count

addPickUpLocation

public void addPickUpLocation(Location item)
Add a 'PickUpLocation' element item.

Parameters:
item -

getPickUpLocation

public Location getPickUpLocation(int index)
Get 'PickUpLocation' element item by position.

Parameters:
index -
Returns:
item

clearPickUpLocations

public void clearPickUpLocations()
Remove all 'PickUpLocation' element items.


getVehicle

public Vehicle getVehicle()
Get the 'Vehicle' element value. Identifies a vehicle for which the rate applies

Returns:
value

setVehicle

public void setVehicle(Vehicle vehicle)
Set the 'Vehicle' element value. Identifies a vehicle for which the rate applies

Parameters:
vehicle -

getRuleIDs

public RateNotifRQ.Rate.RuleIDs getRuleIDs()
Get the 'RuleIDs' element value.

Returns:
value

setRuleIDs

public void setRuleIDs(RateNotifRQ.Rate.RuleIDs ruleIDs)
Set the 'RuleIDs' element value.

Parameters:
ruleIDs -

getAdvanceBooking

public DeadlineGroup getAdvanceBooking()
Get the 'DeadlineGroup' attributeGroup value. Provides the advance booking requirements for this rate.

Returns:
value

setAdvanceBooking

public void setAdvanceBooking(DeadlineGroup advanceBooking)
Set the 'DeadlineGroup' attributeGroup value. Provides the advance booking requirements for this rate.

Parameters:
advanceBooking -

getPointOfSaleRestriction

public RateNotifRQ.Rate.PointOfSaleRestriction getPointOfSaleRestriction()
Get the 'PointOfSaleRestriction' element value.

Returns:
value

setPointOfSaleRestriction

public void setPointOfSaleRestriction(RateNotifRQ.Rate.PointOfSaleRestriction pointOfSaleRestriction)
Set the 'PointOfSaleRestriction' element value.

Parameters:
pointOfSaleRestriction -

getID

public java.lang.String getID()
Get the 'ID' attribute value. A unique identifier for the rate.

Returns:
value

setID

public void setID(java.lang.String ID)
Set the 'ID' attribute value. A unique identifier for the rate.

Parameters:
ID -