|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ota.vehicle.VehicleCharge.Calculation
public 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. 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="Calculation" minOccurs="0" maxOccurs="5"> <xs:complexType> <xs:attribute type="xs:float" use="optional" name="UnitCharge"/> <xs:attribute type="xs:string" use="optional" name="UnitName"/> <xs:attribute type="xs:int" use="optional" name="Quantity"/> <xs:attribute type="xs:float" use="optional" name="Percentage"/> <xs:attribute use="optional" name="Applicability"> <xs:simpleType> <!-- Reference to inner class Applicability --> </xs:simpleType> </xs:attribute> <xs:attribute type="xs:int" use="optional" name="MaxQuantity"/> <xs:attribute type="xs:float" use="optional" name="Total"/> </xs:complexType> </xs:element>
Nested Class Summary | |
---|---|
static class |
VehicleCharge.Calculation.Applicability
Schema fragment(s) for this class: |
Constructor Summary | |
---|---|
VehicleCharge.Calculation()
|
Method Summary | |
---|---|
VehicleCharge.Calculation.Applicability |
getApplicability()
Get the 'Applicability' attribute value. |
java.lang.Integer |
getMaxQuantity()
Get the 'MaxQuantity' attribute value. |
java.lang.Float |
getPercentage()
Get the 'Percentage' attribute value. |
java.lang.Integer |
getQuantity()
Get the 'Quantity' attribute value. |
java.lang.Float |
getTotal()
Get the 'Total' attribute value. |
java.lang.Float |
getUnitCharge()
Get the 'UnitCharge' attribute value. |
java.lang.String |
getUnitName()
Get the 'UnitName' attribute value. |
void |
setApplicability(VehicleCharge.Calculation.Applicability applicability)
Set the 'Applicability' attribute value. |
void |
setMaxQuantity(java.lang.Integer maxQuantity)
Set the 'MaxQuantity' attribute value. |
void |
setPercentage(java.lang.Float percentage)
Set the 'Percentage' attribute value. |
void |
setQuantity(java.lang.Integer quantity)
Set the 'Quantity' attribute value. |
void |
setTotal(java.lang.Float total)
Set the 'Total' attribute value. |
void |
setUnitCharge(java.lang.Float unitCharge)
Set the 'UnitCharge' attribute value. |
void |
setUnitName(java.lang.String unitName)
Set the 'UnitName' attribute value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VehicleCharge.Calculation()
Method Detail |
---|
public java.lang.Float getUnitCharge()
public void setUnitCharge(java.lang.Float unitCharge)
unitCharge
- public java.lang.String getUnitName()
public void setUnitName(java.lang.String unitName)
unitName
- public java.lang.Integer getQuantity()
public void setQuantity(java.lang.Integer quantity)
quantity
- public java.lang.Float getPercentage()
public void setPercentage(java.lang.Float percentage)
percentage
- public VehicleCharge.Calculation.Applicability getApplicability()
public void setApplicability(VehicleCharge.Calculation.Applicability applicability)
applicability
- public java.lang.Integer getMaxQuantity()
public void setMaxQuantity(java.lang.Integer maxQuantity)
maxQuantity
- public java.lang.Float getTotal()
public void setTotal(java.lang.Float total)
total
-
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |