ChargingPark
public struct ChargingPark : Hashable
Contains information about an EV charging park.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates a new charging park with a list of
ConnectorDetails
instances.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init(connectors: [ConnectorDetails], paymentOptions: [PaymentOptions] = [])
-
Creates a new charging park with a list of
ChargingStation
instances.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public init(chargingStations: [ChargingStation], paymentOptions: [PaymentOptions] = [])
Parameters
chargingStations
The list of charging stations available in the charging park.
paymentOptions
The list of payment options supported by the EV POI.
-
Describes the payment options supported by a charging point.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public struct PaymentOptions : Hashable
-
Access type of the EV POI station.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public enum AccessType : CaseIterable
-
A list of
ChargingStation
instances. AChargingStation
contains a list ofChargingPoint
, which further containsConnectorDetails
.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let chargingStations: [ChargingStation]?
-
The list of payment options supported by the EV POI.
Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public let paymentOptions: [PaymentOptions]
-
A list of
ConnectorDetails
of the charging park.Important
This is a Public Preview API. It may be changed or removed at any time.Declaration
Swift
public var connectors: [ConnectorDetails] { get }