EVChargingTariffPriceComponent class
Represents the price component of an EV charging tariff.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
Properties
- dimension ↔ EVChargingTariffDimension
-
The dimension or type of the price component.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- price ↔ double
-
The price per unit, excluding VAT. The units are defined by the EVChargingTariffPriceComponent.dimension
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- step ↔ double?
-
Dimension quantity used as a unit of billing. Present for all other dimensions except
EVChargingTariffDimension.flat. The customer is charged price for each full or partial
step of the dimension consumed. For EVChargingTariffDimension.energy, the step size unit
is 1 Wh, for EVChargingTariffDimension.time and EVChargingTariffDimension.parkingTime
it is 1 second. For example, if step is 300 for time, then time is billed in 5 minute steps, rounded upwards.
Similarly, if step is 100 for energy, then energy is billed in 100 Wh = 0.1 kWh steps.
getter/setter pair
- vat ↔ double?
-
The VAT percentage of the price component. If not present, no VAT is applicable.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool - The equality operator.