org.ota.vehicle
Class CoveragePriced

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

public class CoveragePriced
extends java.lang.Object

The CoveragePricedType complex type defines the information that is required to describe a priced coverage, that is, a coverage and a 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="CoveragePricedType">
   <xs:sequence>
     <xs:element type="ns:CoverageType" name="Coverage"/>
     <xs:element type="ns:VehicleChargeType" name="Charge"/>
     <xs:element type="ns:DeductibleType" name="Deductible" minOccurs="0"/>
   </xs:sequence>
   <xs:attribute type="xs:boolean" use="optional" name="Required"/>
 </xs:complexType>
 


Constructor Summary
CoveragePriced()
           
 
Method Summary
 VehicleCharge getCharge()
          Get the 'Charge' element value.
 Coverage getCoverage()
          Get the 'Coverage' element value.
 Deductible getDeductible()
          Get the 'Deductible' element value.
 java.lang.Boolean getRequired()
          Get the 'Required' attribute value.
 void setCharge(VehicleCharge charge)
          Set the 'Charge' element value.
 void setCoverage(Coverage coverage)
          Set the 'Coverage' element value.
 void setDeductible(Deductible deductible)
          Set the 'Deductible' 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

CoveragePriced

public CoveragePriced()
Method Detail

getCoverage

public Coverage getCoverage()
Get the 'Coverage' element value. Details about a coverage, such as text or description.

Returns:
value

setCoverage

public void setCoverage(Coverage coverage)
Set the 'Coverage' element value. Details about a coverage, such as text or description.

Parameters:
coverage -

getCharge

public VehicleCharge getCharge()
Get the 'Charge' element value. The charges as they relate to a single coverage, 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 coverage, such as minimum or maximum amounts, taxes, or information on how the charge was calculated.

Parameters:
charge -

getDeductible

public Deductible getDeductible()
Get the 'Deductible' element value. The deductible, excess or liability amount for this coverage of a vehicle(s).

Returns:
value

setDeductible

public void setDeductible(Deductible deductible)
Set the 'Deductible' element value. The deductible, excess or liability amount for this coverage of a vehicle(s).

Parameters:
deductible -

getRequired

public java.lang.Boolean getRequired()
Get the 'Required' attribute value. An indication if this particular coverage 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 coverage is required in the vehicle reservation, or is optional, based upon renter preference. false

Parameters:
required -