PricingPlan
data class PricingPlan(val planId: String, val url: Url? = null, val name: LocalizedText, val currency: CurrencyCode, val price: Double, val isTaxable: Boolean, val description: LocalizedText, val perKmPricing: List<PricingInterval>? = null, val perMinPricing: List<PricingInterval>? = null, val surgePricing: Boolean? = null)(source)
A pricing plan for renting vehicles.
Constructors
Link copied to clipboard
constructor(planId: String, url: Url? = null, name: LocalizedText, currency: CurrencyCode, price: Double, isTaxable: Boolean, description: LocalizedText, perKmPricing: List<PricingInterval>? = null, perMinPricing: List<PricingInterval>? = null, surgePricing: Boolean? = null)
Properties
Link copied to clipboard
Currency used to pay the fare.
Link copied to clipboard
Customer-readable description of the pricing plan.
Link copied to clipboard
Will additional tax be added to the base price?
Link copied to clipboard
Name of this pricing plan.
Link copied to clipboard
Array of segments when the price is a function of distance traveled, displayed in kilometers.
Link copied to clipboard
Array of segments when the price is a function of time traveled, displayed in minutes.
Link copied to clipboard
Identifier for a pricing plan in the system.
Link copied to clipboard
Is there currently an increase in price in response to increased demand in this pricing plan?