PowertrainTraits

Types

Link copied to clipboard
data class ElectricPowertrain @JvmOverloads constructor(var battery: Battery, var connector: List<Connector>, var chargingPreferences: ChargingPreferences, var consumptionData: ConsumptionData = ConsumptionData()) : PowertrainTraits
Link copied to clipboard
data class InternalCombustionPowertrain @JvmOverloads constructor(var fuelType: FuelType = FuelType.Petrol, var europeanEmissionStandard: EuropeanEmissionStandard = EuropeanEmissionStandard.Euro5, var consumptionData: ConsumptionData = ConsumptionData()) : PowertrainTraits

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Inheritors

Link copied to clipboard
Link copied to clipboard