org.ota.vehicle
Class VehicleRentalRate.RateRestrictions

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

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

Information on restrictions that may be associated with this rate. Additional details on rate restrictions may be found in OTA_VehRateRulesRS.xsd. 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="RateRestrictions" minOccurs="0">
   <xs:complexType>
     <xs:attribute type="xs:boolean" use="optional" name="ArriveByFlight"/>
     <xs:attribute type="xs:boolean" use="optional" name="MinimumDayInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="MaximumDayInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="AdvancedBookingInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="RestrictedMileageInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="CorporateRateInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="GuaranteeReqInd"/>
     <xs:attribute type="xs:int" use="optional" name="MaximumVehiclesAllowed"/>
     <xs:attribute type="xs:boolean" use="optional" name="OvernightInd"/>
     <xs:attribute use="optional" name="OneWayPolicy">
       <xs:simpleType>
         <!-- Reference to inner class OneWayPolicy -->
       </xs:simpleType>
     </xs:attribute>
     <xs:attribute type="xs:boolean" use="optional" name="CancellationPenaltyInd"/>
     <xs:attribute type="xs:boolean" use="optional" name="ModificationPenaltyInd"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleRentalRate.RateRestrictions.OneWayPolicy
          Schema fragment(s) for this class:
 
Constructor Summary
VehicleRentalRate.RateRestrictions()
           
 
Method Summary
 java.lang.Boolean getAdvancedBookingInd()
          Get the 'AdvancedBookingInd' attribute value.
 java.lang.Boolean getArriveByFlight()
          Get the 'ArriveByFlight' attribute value.
 java.lang.Boolean getCancellationPenaltyInd()
          Get the 'CancellationPenaltyInd' attribute value.
 java.lang.Boolean getCorporateRateInd()
          Get the 'CorporateRateInd' attribute value.
 java.lang.Boolean getGuaranteeReqInd()
          Get the 'GuaranteeReqInd' attribute value.
 java.lang.Boolean getMaximumDayInd()
          Get the 'MaximumDayInd' attribute value.
 java.lang.Integer getMaximumVehiclesAllowed()
          Get the 'MaximumVehiclesAllowed' attribute value.
 java.lang.Boolean getMinimumDayInd()
          Get the 'MinimumDayInd' attribute value.
 java.lang.Boolean getModificationPenaltyInd()
          Get the 'ModificationPenaltyInd' attribute value.
 VehicleRentalRate.RateRestrictions.OneWayPolicy getOneWayPolicy()
          Get the 'OneWayPolicy' attribute value.
 java.lang.Boolean getOvernightInd()
          Get the 'OvernightInd' attribute value.
 java.lang.Boolean getRestrictedMileageInd()
          Get the 'RestrictedMileageInd' attribute value.
 void setAdvancedBookingInd(java.lang.Boolean advancedBookingInd)
          Set the 'AdvancedBookingInd' attribute value.
 void setArriveByFlight(java.lang.Boolean arriveByFlight)
          Set the 'ArriveByFlight' attribute value.
 void setCancellationPenaltyInd(java.lang.Boolean cancellationPenaltyInd)
          Set the 'CancellationPenaltyInd' attribute value.
 void setCorporateRateInd(java.lang.Boolean corporateRateInd)
          Set the 'CorporateRateInd' attribute value.
 void setGuaranteeReqInd(java.lang.Boolean guaranteeReqInd)
          Set the 'GuaranteeReqInd' attribute value.
 void setMaximumDayInd(java.lang.Boolean maximumDayInd)
          Set the 'MaximumDayInd' attribute value.
 void setMaximumVehiclesAllowed(java.lang.Integer maximumVehiclesAllowed)
          Set the 'MaximumVehiclesAllowed' attribute value.
 void setMinimumDayInd(java.lang.Boolean minimumDayInd)
          Set the 'MinimumDayInd' attribute value.
 void setModificationPenaltyInd(java.lang.Boolean modificationPenaltyInd)
          Set the 'ModificationPenaltyInd' attribute value.
 void setOneWayPolicy(VehicleRentalRate.RateRestrictions.OneWayPolicy oneWayPolicy)
          Set the 'OneWayPolicy' attribute value.
 void setOvernightInd(java.lang.Boolean overnightInd)
          Set the 'OvernightInd' attribute value.
 void setRestrictedMileageInd(java.lang.Boolean restrictedMileageInd)
          Set the 'RestrictedMileageInd' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleRentalRate.RateRestrictions

public VehicleRentalRate.RateRestrictions()
Method Detail

getArriveByFlight

public java.lang.Boolean getArriveByFlight()
Get the 'ArriveByFlight' attribute value. Indicates if this rate is only available to those customers who are flying to the vehicle rental location. false

Returns:
value

setArriveByFlight

public void setArriveByFlight(java.lang.Boolean arriveByFlight)
Set the 'ArriveByFlight' attribute value. Indicates if this rate is only available to those customers who are flying to the vehicle rental location. false

Parameters:
arriveByFlight -

getMinimumDayInd

public java.lang.Boolean getMinimumDayInd()
Get the 'MinimumDayInd' attribute value. When true, there is a minimum day requirement.

Returns:
value

setMinimumDayInd

public void setMinimumDayInd(java.lang.Boolean minimumDayInd)
Set the 'MinimumDayInd' attribute value. When true, there is a minimum day requirement.

Parameters:
minimumDayInd -

getMaximumDayInd

public java.lang.Boolean getMaximumDayInd()
Get the 'MaximumDayInd' attribute value. When true, there is a maximum day requirement restriction.

Returns:
value

setMaximumDayInd

public void setMaximumDayInd(java.lang.Boolean maximumDayInd)
Set the 'MaximumDayInd' attribute value. When true, there is a maximum day requirement restriction.

Parameters:
maximumDayInd -

getAdvancedBookingInd

public java.lang.Boolean getAdvancedBookingInd()
Get the 'AdvancedBookingInd' attribute value. When true, this rate requires advanced booking.

Returns:
value

setAdvancedBookingInd

public void setAdvancedBookingInd(java.lang.Boolean advancedBookingInd)
Set the 'AdvancedBookingInd' attribute value. When true, this rate requires advanced booking.

Parameters:
advancedBookingInd -

getRestrictedMileageInd

public java.lang.Boolean getRestrictedMileageInd()
Get the 'RestrictedMileageInd' attribute value. When true, the mileage is restricted.

Returns:
value

setRestrictedMileageInd

public void setRestrictedMileageInd(java.lang.Boolean restrictedMileageInd)
Set the 'RestrictedMileageInd' attribute value. When true, the mileage is restricted.

Parameters:
restrictedMileageInd -

getCorporateRateInd

public java.lang.Boolean getCorporateRateInd()
Get the 'CorporateRateInd' attribute value. When true, this is a negotiated corporate rate.

Returns:
value

setCorporateRateInd

public void setCorporateRateInd(java.lang.Boolean corporateRateInd)
Set the 'CorporateRateInd' attribute value. When true, this is a negotiated corporate rate.

Parameters:
corporateRateInd -

getGuaranteeReqInd

public java.lang.Boolean getGuaranteeReqInd()
Get the 'GuaranteeReqInd' attribute value. When true, a guarantee is required.

Returns:
value

setGuaranteeReqInd

public void setGuaranteeReqInd(java.lang.Boolean guaranteeReqInd)
Set the 'GuaranteeReqInd' attribute value. When true, a guarantee is required.

Parameters:
guaranteeReqInd -

getMaximumVehiclesAllowed

public java.lang.Integer getMaximumVehiclesAllowed()
Get the 'MaximumVehiclesAllowed' attribute value. The maximum number of vehicles that can be rented at this rate.

Returns:
value

setMaximumVehiclesAllowed

public void setMaximumVehiclesAllowed(java.lang.Integer maximumVehiclesAllowed)
Set the 'MaximumVehiclesAllowed' attribute value. The maximum number of vehicles that can be rented at this rate.

Parameters:
maximumVehiclesAllowed -

getOvernightInd

public java.lang.Boolean getOvernightInd()
Get the 'OvernightInd' attribute value. When true, an overnight rental is required.

Returns:
value

setOvernightInd

public void setOvernightInd(java.lang.Boolean overnightInd)
Set the 'OvernightInd' attribute value. When true, an overnight rental is required.

Parameters:
overnightInd -

getOneWayPolicy

public VehicleRentalRate.RateRestrictions.OneWayPolicy getOneWayPolicy()
Get the 'OneWayPolicy' attribute value. Specifies the one way rental policy for the pick-up location.

Returns:
value

setOneWayPolicy

public void setOneWayPolicy(VehicleRentalRate.RateRestrictions.OneWayPolicy oneWayPolicy)
Set the 'OneWayPolicy' attribute value. Specifies the one way rental policy for the pick-up location.

Parameters:
oneWayPolicy -

getCancellationPenaltyInd

public java.lang.Boolean getCancellationPenaltyInd()
Get the 'CancellationPenaltyInd' attribute value. When true indicates a fee applies if a cancellation is requested.

Returns:
value

setCancellationPenaltyInd

public void setCancellationPenaltyInd(java.lang.Boolean cancellationPenaltyInd)
Set the 'CancellationPenaltyInd' attribute value. When true indicates a fee applies if a cancellation is requested.

Parameters:
cancellationPenaltyInd -

getModificationPenaltyInd

public java.lang.Boolean getModificationPenaltyInd()
Get the 'ModificationPenaltyInd' attribute value. When true indicates a fee applies if a modification is requested.

Returns:
value

setModificationPenaltyInd

public void setModificationPenaltyInd(java.lang.Boolean modificationPenaltyInd)
Set the 'ModificationPenaltyInd' attribute value. When true indicates a fee applies if a modification is requested.

Parameters:
modificationPenaltyInd -