org.ota.vehicle
Class VehicleRentalRate.PickupReturnRule

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

public static class VehicleRentalRate.PickupReturnRule
extends java.lang.Object

Pickup and return requirements for a specific 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="PickupReturnRule" minOccurs="0" maxOccurs="3">
   <xs:complexType>
     <xs:attribute type="ns:DayOfWeekType" use="optional" name="DayOfWeek"/>
     <xs:attribute type="xs:string" use="optional" name="Time"/>
     <xs:attribute use="optional" name="RuleType">
       <xs:simpleType>
         <!-- Reference to inner class Rule -->
       </xs:simpleType>
     </xs:attribute>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleRentalRate.PickupReturnRule.Rule
          Schema fragment(s) for this class:
 
Constructor Summary
VehicleRentalRate.PickupReturnRule()
           
 
Method Summary
 DayOfWeek getDayOfWeek()
          Get the 'DayOfWeek' attribute value.
 VehicleRentalRate.PickupReturnRule.Rule getRule()
          Get the 'RuleType' attribute value.
 java.lang.String getTime()
          Get the 'Time' attribute value.
 void setDayOfWeek(DayOfWeek dayOfWeek)
          Set the 'DayOfWeek' attribute value.
 void setRule(VehicleRentalRate.PickupReturnRule.Rule rule)
          Set the 'RuleType' attribute value.
 void setTime(java.lang.String time)
          Set the 'Time' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleRentalRate.PickupReturnRule

public VehicleRentalRate.PickupReturnRule()
Method Detail

getDayOfWeek

public DayOfWeek getDayOfWeek()
Get the 'DayOfWeek' attribute value. The earliest day of the week the rental can begin to qualify for the specific rate.

Returns:
value

setDayOfWeek

public void setDayOfWeek(DayOfWeek dayOfWeek)
Set the 'DayOfWeek' attribute value. The earliest day of the week the rental can begin to qualify for the specific rate.

Parameters:
dayOfWeek -

getTime

public java.lang.String getTime()
Get the 'Time' attribute value. The earliest time, in conjunction with the DayOfWeek, the rental can commence to qualify for the specific rate.

Returns:
value

setTime

public void setTime(java.lang.String time)
Set the 'Time' attribute value. The earliest time, in conjunction with the DayOfWeek, the rental can commence to qualify for the specific rate.

Parameters:
time -

getRule

public VehicleRentalRate.PickupReturnRule.Rule getRule()
Get the 'RuleType' attribute value. Specifies the applicability of this rule.

Returns:
value

setRule

public void setRule(VehicleRentalRate.PickupReturnRule.Rule rule)
Set the 'RuleType' attribute value. Specifies the applicability of this rule.

Parameters:
rule -