EVChargingDurationRange

public struct EVChargingDurationRange : Hashable

Duration of the charging session when the tariff element is valid, in seconds. 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.

  • min

    Minimum duration of the charging session that the element applies for, inclusive. Often used to indicate additional or higher cost for long-lasting charging sessions. If absent the element becomes valid as soon as other conditions allow.

    Declaration

    Swift

    public var min: Int32?
  • max

    Maximum duration of the charging session that the element applies for, exclusive. If absent the element is valid until end of the charging session or until some other element takes over.

    Declaration

    Swift

    public var max: Int32?
  • Creates a new instance.

    Declaration

    Swift

    public init(min: Int32? = nil, max: Int32? = nil)