TariffRestriction

Types

Link copied to clipboard
data class DayOfWeekRestriction(val daysOfWeek: List<DayOfWeek>) : TariffRestriction

The day(s) of the week the Tariff is active.

Link copied to clipboard

When applied to the Tariff, this restriction is valid until this time of the day.

Link copied to clipboard
data class MaximumDurationRestriction(val maximumDuration: Duration) : TariffRestriction

Maximum duration the charging session can last (exclusive). When the duration of a charging session is shorter than the defined value, the Tariff is or becomes active.

Link copied to clipboard
data class MinimumDurationRestriction(val minimumDuration: Duration) : TariffRestriction

Minimum duration the charging session can last (inclusive). When the duration of a charging session is longer than the defined value, the Tariff is or becomes active.

Link copied to clipboard

When applied to the Tariff, this restriction is valid starting from this time of the day.

Inherited functions

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