ChargingPoint

public struct ChargingPoint

A charging point corresponds to an EVSE (Electric Vehicle Supply Equipment). This can be thought of as the charging facility capable of accomodating one car.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates a new ChargingPoint instance with given parameters.

    Declaration

    Swift

    public init(
        evseID: String,
        capabilities: [Capability],
        restrictions: [ParkingRestriction],
        status: Status?,
        connectors: [ConnectorDetails],
        physicalReference: String?
    )

    Parameters

    evseID

    charging point ID.

    capabilities

    list of the chargers’ capabilities.

    restrictions

    list of parking restrictions.

    status

    dynamic availability status of charging point. If nil, no status information is currently available.

    connectors

    List of connectors with charging power attributes.

    physicalReference

    Physical identification of the charging station printed on the station and visible to the driver. One of the parameters that can be used for booking or charging purposes to locate the physical station. No standard format available.

  • The status of a charging point.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum Status : CaseIterable
  • Parking restrictions for a charging point.

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum ParkingRestriction : CaseIterable
  • Describes the technology and capabilities supported by an EVSE (electric vehicle supply equipment).

    Important

    This is a Public Preview API. It may be changed or removed at any time.
    See more

    Declaration

    Swift

    public enum Capability : CaseIterable
  • Charging point ID.

    Declaration

    Swift

    public let evseID: String
  • List of capabilities.

    Declaration

    Swift

    public let capabilities: [Capability]
  • List of parking restrictions.

    Declaration

    Swift

    public let restrictions: [ParkingRestriction]
  • Dynamic availability status of charging point. If nil, no status information is currently available.

    Declaration

    Swift

    public let status: Status?
  • Connector with charging power attributes.

    Declaration

    Swift

    public let connectors: [ConnectorDetails]
  • Physical identification of the charging station printed on the station and visible to the driver. One of the parameters that can be used for booking or charging purposes to locate the physical station. No standard format available.

    Declaration

    Swift

    public let physicalReference: String?