Calculation

Type : VehicleChargeType-Calculation

Definition
Information on how this charge was calculated, for example, a daily rate multiplied by the number of days, a percentage, etc.
(Defined in file OTA_VehicleCommonTypes.xsd , or a file it imports)

Attributes
Applicability Indicates a time or a place of reference (e.g. before pick-up, drop-off location).
MaxQuantityThis is used in conjunction with UnitName to specify the maximum quantity of units as defined by UnitName.
PercentageProvides the ability to define a particular percentage.
QuantityThis is used in conjunction with UnitName to specify the quantity of units as defined by UnitName (e.g., if Quantity="5" and UnitName="day" the result is 5 days).
TotalThe total for a specific item in a calculation (e.g., ten day rental = one week plus three extra days; this attribute would provide the subtotal for just the three extra days. The VehChargeType can be used to show the total for the ten day rental).
UnitChargeThis is used in conjunction with UnitName to specify the charge per unit as defined by UnitName (e.g., if UnitCharge="100" and UnitName="day" the result is 100 dollars per day).
UnitNameThe UnitName attribute provides the unit on which an item charge may be based when renting a vehicle (e.g., there may be a charge which is based upon the number of days, another charge that is based upon the number of miles, a charge that is based upon the number of gallons). The VehicleUnitNameSimpleType simple type defines a set of valid values for the units on which an item charge may be based when renting a vehicle. For example, there may be a charge which is based upon the number of days, another charge that is based upon the numbers of miles, a charge that is based upon the number of gallons, etc.

Parents
\OTA_GolfRatePlanRS\Course\Rate\CartFee
\OTA_GolfCourseResRQ\GolfCourseRes\Charge
\OTA_GolfCourseResRS\GolfCourseRes\Charge
\OTA_GolfCourseResModifyRQ\GolfCourseRes\Charge
\OTA_GolfCourseAvailRS\GolfFacility\TeeTime\Charge
\OTA_DynamicPkgAvailRQ\DynamicPackage\Components\CarComponent\Vehicle\Fees\Fee
\OTA_GolfRatePlanRS\Course\Rate\GreensFee
\OTA_GroundAvailRS\GroundServices\GroundService\ServiceCharges