org.ota.vehicle
Class VehicleLocationAdditionalFees.Surcharges

java.lang.Object
  extended by org.ota.vehicle.VehicleLocationAdditionalFees.Surcharges
Enclosing class:
VehicleLocationAdditionalFees

public static class VehicleLocationAdditionalFees.Surcharges
extends java.lang.Object

Information on additional surcharges that may apply to the rental. 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="Surcharges" minOccurs="0">
   <xs:complexType>
     <xs:sequence>
       <xs:element name="Surcharge" minOccurs="0" maxOccurs="99">
         <!-- Reference to inner class Surcharge -->
       </xs:element>
       <xs:element type="ns:FormattedTextType" name="Info" minOccurs="0"/>
     </xs:sequence>
     <xs:attributeGroup ref="ns:DateTimeSpanGroup"/>
   </xs:complexType>
 </xs:element>
 


Nested Class Summary
static class VehicleLocationAdditionalFees.Surcharges.Surcharge
          This element is used to describe one specific surcharge that may apply.
 
Constructor Summary
VehicleLocationAdditionalFees.Surcharges()
           
 
Method Summary
 void addSurcharge(VehicleLocationAdditionalFees.Surcharges.Surcharge item)
          Add a 'Surcharge' element item.
 void clearSurcharges()
          Remove all 'Surcharge' element items.
 DateTimeSpanGroup getDateTimeSpanGroup()
          Get the 'DateTimeSpanGroup' attributeGroup value.
 FormattedText getInfo()
          Get the 'Info' element value.
 VehicleLocationAdditionalFees.Surcharges.Surcharge getSurcharge(int index)
          Get 'Surcharge' element item by position.
 java.util.List<VehicleLocationAdditionalFees.Surcharges.Surcharge> getSurcharges()
          Get the list of 'Surcharge' element items.
 void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
          Set the 'DateTimeSpanGroup' attributeGroup value.
 void setInfo(FormattedText info)
          Set the 'Info' element value.
 void setSurcharges(java.util.List<VehicleLocationAdditionalFees.Surcharges.Surcharge> list)
          Set the list of 'Surcharge' element items.
 int sizeSurcharges()
          Get the number of 'Surcharge' element items.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleLocationAdditionalFees.Surcharges

public VehicleLocationAdditionalFees.Surcharges()
Method Detail

getSurcharges

public java.util.List<VehicleLocationAdditionalFees.Surcharges.Surcharge> getSurcharges()
Get the list of 'Surcharge' element items.

Returns:
list

setSurcharges

public void setSurcharges(java.util.List<VehicleLocationAdditionalFees.Surcharges.Surcharge> list)
Set the list of 'Surcharge' element items.

Parameters:
list -

sizeSurcharges

public int sizeSurcharges()
Get the number of 'Surcharge' element items.

Returns:
count

addSurcharge

public void addSurcharge(VehicleLocationAdditionalFees.Surcharges.Surcharge item)
Add a 'Surcharge' element item.

Parameters:
item -

getSurcharge

public VehicleLocationAdditionalFees.Surcharges.Surcharge getSurcharge(int index)
Get 'Surcharge' element item by position.

Parameters:
index -
Returns:
item

clearSurcharges

public void clearSurcharges()
Remove all 'Surcharge' element items.


getInfo

public FormattedText getInfo()
Get the 'Info' element value. General information about the additional surcharges that may apply.

Returns:
value

setInfo

public void setInfo(FormattedText info)
Set the 'Info' element value. General information about the additional surcharges that may apply.

Parameters:
info -

getDateTimeSpanGroup

public DateTimeSpanGroup getDateTimeSpanGroup()
Get the 'DateTimeSpanGroup' attributeGroup value. The efective date range for the surcharge information.

Returns:
value

setDateTimeSpanGroup

public void setDateTimeSpanGroup(DateTimeSpanGroup dateTimeSpanGroup)
Set the 'DateTimeSpanGroup' attributeGroup value. The efective date range for the surcharge information.

Parameters:
dateTimeSpanGroup -