|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectorg.ota.vehicle.VehicleCharge
public class VehicleCharge
Identifies specific charges. 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="VehicleChargeType">
<xs:sequence>
<xs:element name="TaxAmounts" minOccurs="0">
<!-- Reference to inner class TaxAmounts -->
</xs:element>
<xs:element name="MinMax" minOccurs="0">
<!-- Reference to inner class MinMax -->
</xs:element>
<xs:element name="Calculation" minOccurs="0" maxOccurs="5">
<!-- Reference to inner class Calculation -->
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="ns:CurrencyAmountGroup"/>
<xs:attribute type="xs:boolean" use="optional" name="TaxInclusive"/>
<xs:attribute type="xs:string" use="optional" name="Description"/>
<xs:attribute type="xs:boolean" use="optional" name="GuaranteedInd"/>
<xs:attribute type="xs:boolean" use="optional" name="IncludedInRate"/>
<xs:attribute type="xs:boolean" use="optional" name="IncludedInEstTotalInd"/>
</xs:complexType>
| Nested Class Summary | |
|---|---|
static class |
VehicleCharge.Calculation
Information on how this charge was calculated, for example, a daily rate multiplied by the number of days, a percentage, etc. |
static class |
VehicleCharge.MinMax
Information on any minimum or maximum amounts, if appropriate. |
static class |
VehicleCharge.TaxAmounts
A collection of one or more taxes associated with a specific charge. |
| Constructor Summary | |
|---|---|
VehicleCharge()
|
|
| Method Summary | |
|---|---|
void |
addCalculation(VehicleCharge.Calculation item)
Add a 'Calculation' element item. |
void |
clearCalculations()
Remove all 'Calculation' element items. |
VehicleCharge.Calculation |
getCalculation(int index)
Get 'Calculation' element item by position. |
java.util.List<VehicleCharge.Calculation> |
getCalculations()
Get the list of 'Calculation' element items. |
CurrencyAmountGroup |
getCurrencyAmountGroup()
Get the 'CurrencyAmountGroup' attributeGroup value. |
java.lang.String |
getDescription()
Get the 'Description' attribute value. |
java.lang.Boolean |
getGuaranteedInd()
Get the 'GuaranteedInd' attribute value. |
java.lang.Boolean |
getIncludedInEstTotalInd()
Get the 'IncludedInEstTotalInd' attribute value. |
java.lang.Boolean |
getIncludedInRate()
Get the 'IncludedInRate' attribute value. |
VehicleCharge.MinMax |
getMinMax()
Get the 'MinMax' element value. |
VehicleCharge.TaxAmounts |
getTaxAmounts()
Get the 'TaxAmounts' element value. |
java.lang.Boolean |
getTaxInclusive()
Get the 'TaxInclusive' attribute value. |
void |
setCalculations(java.util.List<VehicleCharge.Calculation> list)
Set the list of 'Calculation' element items. |
void |
setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
Set the 'CurrencyAmountGroup' attributeGroup value. |
void |
setDescription(java.lang.String description)
Set the 'Description' attribute value. |
void |
setGuaranteedInd(java.lang.Boolean guaranteedInd)
Set the 'GuaranteedInd' attribute value. |
void |
setIncludedInEstTotalInd(java.lang.Boolean includedInEstTotalInd)
Set the 'IncludedInEstTotalInd' attribute value. |
void |
setIncludedInRate(java.lang.Boolean includedInRate)
Set the 'IncludedInRate' attribute value. |
void |
setMinMax(VehicleCharge.MinMax minMax)
Set the 'MinMax' element value. |
void |
setTaxAmounts(VehicleCharge.TaxAmounts taxAmounts)
Set the 'TaxAmounts' element value. |
void |
setTaxInclusive(java.lang.Boolean taxInclusive)
Set the 'TaxInclusive' attribute value. |
int |
sizeCalculations()
Get the number of 'Calculation' element items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VehicleCharge()
| Method Detail |
|---|
public VehicleCharge.TaxAmounts getTaxAmounts()
public void setTaxAmounts(VehicleCharge.TaxAmounts taxAmounts)
taxAmounts - public VehicleCharge.MinMax getMinMax()
public void setMinMax(VehicleCharge.MinMax minMax)
minMax - public java.util.List<VehicleCharge.Calculation> getCalculations()
public void setCalculations(java.util.List<VehicleCharge.Calculation> list)
list - public int sizeCalculations()
public void addCalculation(VehicleCharge.Calculation item)
item - public VehicleCharge.Calculation getCalculation(int index)
index -
public void clearCalculations()
public CurrencyAmountGroup getCurrencyAmountGroup()
public void setCurrencyAmountGroup(CurrencyAmountGroup currencyAmountGroup)
currencyAmountGroup - public java.lang.Boolean getTaxInclusive()
public void setTaxInclusive(java.lang.Boolean taxInclusive)
taxInclusive - public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - public java.lang.Boolean getGuaranteedInd()
public void setGuaranteedInd(java.lang.Boolean guaranteedInd)
guaranteedInd - public java.lang.Boolean getIncludedInRate()
public void setIncludedInRate(java.lang.Boolean includedInRate)
includedInRate - public java.lang.Boolean getIncludedInEstTotalInd()
public void setIncludedInEstTotalInd(java.lang.Boolean includedInEstTotalInd)
includedInEstTotalInd -
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||