EVChargingConnector
public struct EVChargingConnector : Hashable
Represents a connector at the charging point. 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.
-
Identifier of the connector within the EVSE.
Declaration
Swift
public var id: String -
Standardized type of the connector. Should be one of the constants defined in
EVChargingConnectorType.Declaration
Swift
public var connectorType: String -
Format of the connector, whether it is a socket or a cable.
Declaration
Swift
public var format: EVChargingConnectorFormat -
Type of electrical power used by the connector.
Declaration
Swift
public var powerType: PowerType -
Max voltage (in volts) of the connector.
Declaration
Swift
public var maxVoltageInVolts: Int32 -
Max current (in amperes) of the connector.
Declaration
Swift
public var maxCurrentInAmperes: Int32 -
Max power (in watts) of the connector, if available. This should be set when the maximum electric power is lower than the calculated value from voltage and amperage.
Declaration
Swift
public var maxPowerInWatts: Int32? -
URL to the operator’s terms and conditions, if available.
Declaration
Swift
public var termsAndConditionsUrl: String? -
Tariffs for the connector, presented by indexes to the charging station’s tariffs-list. Available only if
EVChargingLocationFeature.TARIFFSis included inEVSearchOptions.additional_features, otherwise empty.Declaration
Swift
public var tariffIndexes: [Int32] -
init(id:connectorType: format: powerType: maxVoltageInVolts: maxCurrentInAmperes: maxPowerInWatts: termsAndConditionsUrl: tariffIndexes: ) Creates a new instance.
Declaration
Swift
public init(id: String = "", connectorType: String = "", format: EVChargingConnectorFormat = EVChargingConnectorFormat.socket, powerType: PowerType = PowerType.ac1phase, maxVoltageInVolts: Int32 = 0, maxCurrentInAmperes: Int32 = 0, maxPowerInWatts: Int32? = nil, termsAndConditionsUrl: String? = nil, tariffIndexes: [Int32] = [])