org.ota.vehicle
Class VehicleEquipmentPriced

java.lang.Object
  extended by org.ota.vehicle.VehicleEquipmentPriced

public class VehicleEquipmentPriced
extends java.lang.Object

The VehicleEquipmentPricedType complex type identifies the data that describes a priced piece of special equipment in association with the rental of a vehicle. The data consists of the equipment and the correspondinng charge. Schema fragment(s) for this class:

 <xs:complexType xmlns:ns="http://www.opentravel.org/OTA/2003/05" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="VehicleEquipmentPricedType">
   <xs:sequence>
     <xs:element type="ns:VehicleEquipmentType" name="Equipment"/>
     <xs:element type="ns:VehicleChargeType" name="Charge"/>
   </xs:sequence>
   <xs:attribute type="xs:boolean" use="optional" name="Required"/>
 </xs:complexType>
 


Constructor Summary
VehicleEquipmentPriced()
           
 
Method Summary
 VehicleCharge getCharge()
          Get the 'Charge' element value.
 VehicleEquipment getEquipment()
          Get the 'Equipment' element value.
 java.lang.Boolean getRequired()
          Get the 'Required' attribute value.
 void setCharge(VehicleCharge charge)
          Set the 'Charge' element value.
 void setEquipment(VehicleEquipment equipment)
          Set the 'Equipment' element value.
 void setRequired(java.lang.Boolean required)
          Set the 'Required' attribute value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleEquipmentPriced

public VehicleEquipmentPriced()
Method Detail

getEquipment

public VehicleEquipment getEquipment()
Get the 'Equipment' element value. Details about a equipment, such as text or description.

Returns:
value

setEquipment

public void setEquipment(VehicleEquipment equipment)
Set the 'Equipment' element value. Details about a equipment, such as text or description.

Parameters:
equipment -

getCharge

public VehicleCharge getCharge()
Get the 'Charge' element value. The charges as they relate to a single piece of equipment, such as minimum or maximum amounts, taxes, or information on how the charge was calculated.

Returns:
value

setCharge

public void setCharge(VehicleCharge charge)
Set the 'Charge' element value. The charges as they relate to a single piece of equipment, such as minimum or maximum amounts, taxes, or information on how the charge was calculated.

Parameters:
charge -

getRequired

public java.lang.Boolean getRequired()
Get the 'Required' attribute value. An indication if this particular equipment is required in the vehicle reservation, or is optional, based upon renter preference.false

Returns:
value

setRequired

public void setRequired(java.lang.Boolean required)
Set the 'Required' attribute value. An indication if this particular equipment is required in the vehicle reservation, or is optional, based upon renter preference.false

Parameters:
required -