org.ota.vehicle
Class RateRules.PickupReturnRules

java.lang.Object
  extended by org.ota.vehicle.RateRules.PickupReturnRules
Enclosing class:
RateRules

public static class RateRules.PickupReturnRules
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="PickupReturnRules" minOccurs="0" maxOccurs="7">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="EarliestPickup" minOccurs="0">
         <!-- Reference to inner class EarliestPickup -->
       </xs:element>
       <xs:element name="LatestPickup" minOccurs="0">
         <!-- Reference to inner class LatestPickup -->
       </xs:element>
       <xs:element name="LatestReturn" minOccurs="0">
         <!-- Reference to inner class LatestReturn -->
       </xs:element>
       <xs:element name="EarliestReturn" minOccurs="0">
         <!-- Reference to inner class EarliestReturn -->
       </xs:element>
     </xs:sequence>
     <xs:attribute type="ns:DayOfWeekType" use="optional" name="DayOfWeek"/>
     <xs:attribute type="xs:string" use="optional" name="MinimumKeep"/>
     <xs:attribute type="xs:string" use="optional" name="MaximumKeep"/>
     <xs:attribute type="xs:string" use="optional" name="MaximumRental"/>
     <xs:attribute type="xs:boolean" use="optional" name="OvernightInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="ReturnAllowedInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class RateRules.PickupReturnRules.EarliestPickup
          The earliest day and time a vehicle can be picked up to qualify for a specific rate.
static class RateRules.PickupReturnRules.EarliestReturn
          The earliest day and time a vehicle can be returned to qualify for a specific rate.
static class RateRules.PickupReturnRules.LatestPickup
          The latest day and time a vehicle can be picked up to qualify for a specific rate.
static class RateRules.PickupReturnRules.LatestReturn
          The latest day and time a vehicle can be returned to qualify for a specific rate.
 
Constructor Summary
RateRules.PickupReturnRules()
           
 
Method Summary
 DayOfWeek getDayOfWeek()
          Get the 'DayOfWeek' attribute value.
 RateRules.PickupReturnRules.EarliestPickup getEarliestPickup()
          Get the 'EarliestPickup' element value.
 RateRules.PickupReturnRules.EarliestReturn getEarliestReturn()
          Get the 'EarliestReturn' element value.
 RateRules.PickupReturnRules.LatestPickup getLatestPickup()
          Get the 'LatestPickup' element value.
 RateRules.PickupReturnRules.LatestReturn getLatestReturn()
          Get the 'LatestReturn' element value.
 java.lang.String getMaximumKeep()
          Get the 'MaximumKeep' attribute value.
 java.lang.String getMaximumRental()
          Get the 'MaximumRental' attribute value.
 java.lang.String getMinimumKeep()
          Get the 'MinimumKeep' attribute value.
 java.lang.Boolean getOvernightInd()
          Get the 'OvernightInd' attribute value.
 java.lang.Boolean getReturnAllowedInd()
          Get the 'ReturnAllowedInd' attribute value.
 void setDayOfWeek(DayOfWeek dayOfWeek)
          Set the 'DayOfWeek' attribute value.
 void setEarliestPickup(RateRules.PickupReturnRules.EarliestPickup earliestPickup)
          Set the 'EarliestPickup' element value.
 void setEarliestReturn(RateRules.PickupReturnRules.EarliestReturn earliestReturn)
          Set the 'EarliestReturn' element value.
 void setLatestPickup(RateRules.PickupReturnRules.LatestPickup latestPickup)
          Set the 'LatestPickup' element value.
 void setLatestReturn(RateRules.PickupReturnRules.LatestReturn latestReturn)
          Set the 'LatestReturn' element value.
 void setMaximumKeep(java.lang.String maximumKeep)
          Set the 'MaximumKeep' attribute value.
 void setMaximumRental(java.lang.String maximumRental)
          Set the 'MaximumRental' attribute value.
 void setMinimumKeep(java.lang.String minimumKeep)
          Set the 'MinimumKeep' attribute value.
 void setOvernightInd(java.lang.Boolean overnightInd)
          Set the 'OvernightInd' attribute value.
 void setReturnAllowedInd(java.lang.Boolean returnAllowedInd)
          Set the 'ReturnAllowedInd' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateRules.PickupReturnRules

public RateRules.PickupReturnRules()
Method Detail

getEarliestPickup

public RateRules.PickupReturnRules.EarliestPickup getEarliestPickup()
Get the 'EarliestPickup' element value.

Returns:
value

setEarliestPickup

public void setEarliestPickup(RateRules.PickupReturnRules.EarliestPickup earliestPickup)
Set the 'EarliestPickup' element value.

Parameters:
earliestPickup -

getLatestPickup

public RateRules.PickupReturnRules.LatestPickup getLatestPickup()
Get the 'LatestPickup' element value.

Returns:
value

setLatestPickup

public void setLatestPickup(RateRules.PickupReturnRules.LatestPickup latestPickup)
Set the 'LatestPickup' element value.

Parameters:
latestPickup -

getLatestReturn

public RateRules.PickupReturnRules.LatestReturn getLatestReturn()
Get the 'LatestReturn' element value.

Returns:
value

setLatestReturn

public void setLatestReturn(RateRules.PickupReturnRules.LatestReturn latestReturn)
Set the 'LatestReturn' element value.

Parameters:
latestReturn -

getEarliestReturn

public RateRules.PickupReturnRules.EarliestReturn getEarliestReturn()
Get the 'EarliestReturn' element value.

Returns:
value

setEarliestReturn

public void setEarliestReturn(RateRules.PickupReturnRules.EarliestReturn earliestReturn)
Set the 'EarliestReturn' element value.

Parameters:
earliestReturn -

getDayOfWeek

public DayOfWeek getDayOfWeek()
Get the 'DayOfWeek' attribute value. The day of the week, this rule refers. If this attribute is used, each following element qualifies for this day.

Returns:
value

setDayOfWeek

public void setDayOfWeek(DayOfWeek dayOfWeek)
Set the 'DayOfWeek' attribute value. The day of the week, this rule refers. If this attribute is used, each following element qualifies for this day.

Parameters:
dayOfWeek -

getMinimumKeep

public java.lang.String getMinimumKeep()
Get the 'MinimumKeep' attribute value. The minimum time (e.g., number of rental days, number of rental hours) required to qualify for a specific rate.

Returns:
value

setMinimumKeep

public void setMinimumKeep(java.lang.String minimumKeep)
Set the 'MinimumKeep' attribute value. The minimum time (e.g., number of rental days, number of rental hours) required to qualify for a specific rate.

Parameters:
minimumKeep -

getMaximumKeep

public java.lang.String getMaximumKeep()
Get the 'MaximumKeep' attribute value. The maximum time (e.g., number of rental days, number of rental hours) allowed to qualify for a specific rate.

Returns:
value

setMaximumKeep

public void setMaximumKeep(java.lang.String maximumKeep)
Set the 'MaximumKeep' attribute value. The maximum time (e.g., number of rental days, number of rental hours) allowed to qualify for a specific rate.

Parameters:
maximumKeep -

getMaximumRental

public java.lang.String getMaximumRental()
Get the 'MaximumRental' attribute value. The maximum number of rental days a vehicle is allowed to be rented.

Returns:
value

setMaximumRental

public void setMaximumRental(java.lang.String maximumRental)
Set the 'MaximumRental' attribute value. The maximum number of rental days a vehicle is allowed to be rented.

Parameters:
maximumRental -

getOvernightInd

public java.lang.Boolean getOvernightInd()
Get the 'OvernightInd' attribute value. When true, the vehicle must be kept overnight.

Returns:
value

setOvernightInd

public void setOvernightInd(java.lang.Boolean overnightInd)
Set the 'OvernightInd' attribute value. When true, the vehicle must be kept overnight.

Parameters:
overnightInd -

getReturnAllowedInd

public java.lang.Boolean getReturnAllowedInd()
Get the 'ReturnAllowedInd' attribute value. When true, the vehicle may be returned on this day of the week.

Returns:
value

setReturnAllowedInd

public void setReturnAllowedInd(java.lang.Boolean returnAllowedInd)
Set the 'ReturnAllowedInd' attribute value. When true, the vehicle may be returned on this day of the week.

Parameters:
returnAllowedInd -