TNEntityTariffRestrictions

@objcMembers
open class TNEntityTariffRestrictions : NSObject, Codable

These restrictions are not for the entire Charging Session.

They only describe if and when a TariffElement becomes active or inactive during a Charging Session.

  • Start time of day in local time. E.g. 13:30

    Declaration

    Swift

    public var startTime: String?
  • End time of day in local time. E.g. 13:30

    Declaration

    Swift

    public var endTime: String?
  • Start date in local time. E.g. 2015-12-24

    Declaration

    Swift

    public var startDate: String?
  • End date in local time. E.g. 2015-12-24

    Declaration

    Swift

    public var endDate: String?
  • Minimum consumed energy in kWh.

    Declaration

    Swift

    public var minKwh: Double?
  • Maximum consumed energy in kWh.

    Declaration

    Swift

    public var maxKwh: Double?
  • Sum of the minimum current (in Amperes) over all phases.

    Declaration

    Swift

    public var minCurrent: Double?
  • Sum of the maximum current (in Amperes) over all phases.

    Declaration

    Swift

    public var maxCurrent: Double?
  • Minimum power in kW.

    Declaration

    Swift

    public var minPower: Double?
  • Maximum power in kW.

    Declaration

    Swift

    public var maxPower: Double?
  • Minimum duration in seconds the Charging Session MUST last (inclusive).

    Declaration

    Swift

    public var minDuration: Int?
  • Maximum duration in seconds the Charging Session MUST last (exclusive).

    Declaration

    Swift

    public var maxDuration: Int?
  • Which day(s) of the week this TariffElement is active.

    Declaration

    Swift

    public var dayOfWeek: [TNEntityDayOfWeek]?
  • When this field is present, the TariffElement describes reservation costs.

    Declaration

    Swift

    public var reservation: TNEntityReservationRestrictionType?