org.ota.vehicle
Class VehicleAgeRequirements.Age.AgeSurcharge

java.lang.Object
  extended by org.ota.vehicle.VehicleAgeRequirements.Age.AgeSurcharge
Enclosing class:
VehicleAgeRequirements.Age

public static class VehicleAgeRequirements.Age.AgeSurcharge
extends java.lang.Object

Surcharge information that may be applied based upon age of the renter. 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="AgeSurcharge" minOccurs="0" maxOccurs="5">
   <xs:complexType>
     <xs:attribute type="xs:string" name="Age"/>
     <xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
     <xs:attribute type="xs:string" use="optional" name="ChargeType"/>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
VehicleAgeRequirements.Age.AgeSurcharge()
           
 
Method Summary
 java.lang.String getAge()
          Get the 'Age' attribute value.
 java.lang.String getCharge()
          Get the 'ChargeType' attribute value.
 CurrencyAmountGroup getCurrencyAmountGroup()
          Get the 'CurrencyAmountGroup' attributeGroup value.
 void setAge(java.lang.String age)
          Set the 'Age' attribute value.
 void setCharge(java.lang.String charge)
          Set the 'ChargeType' attribute value.
 void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
          Set the 'CurrencyAmountGroup' attributeGroup value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleAgeRequirements.Age.AgeSurcharge

public VehicleAgeRequirements.Age.AgeSurcharge()
Method Detail

getAge

public java.lang.String getAge()
Get the 'Age' attribute value. Used to describe the age category of the driver for which an additional surcharge will apply. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Returns:
value

setAge

public void setAge(java.lang.String age)
Set the 'Age' attribute value. Used to describe the age category of the driver for which an additional surcharge will apply. Refer to OpenTravel Code List Age Qualifying Code (AQC).

Parameters:
age -

getCurrencyAmountGroup

public CurrencyAmountGroup getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value.

Returns:
value

setCurrencyAmountGroup

public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value.

Parameters:
currencyAmountGroup -

getCharge

public java.lang.String getCharge()
Get the 'ChargeType' attribute value. Used to specify weekly, daily, or per rental. Refer to OpenTravel Code List Charge Type (CHG).

Returns:
value

setCharge

public void setCharge(java.lang.String charge)
Set the 'ChargeType' attribute value. Used to specify weekly, daily, or per rental. Refer to OpenTravel Code List Charge Type (CHG).

Parameters:
charge -