EVSearchResult

public struct EVSearchResult

A search result produced by EV search.

Important

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

    Declaration

    Swift

    public init(
        id: POIID,
        names: [String] = [],
        phones: [String] = [],
        emails: [String] = [],
        place: Place,
        chargingStations: [ChargingStation] = [],
        openingHours: OpeningHours? = nil,
        timeZone: TimeZone? = nil,
        paymentOptions: [ChargingPark.PaymentOptions] = [],
        accessType: ChargingPark.AccessType? = nil
    )

    Parameters

    id

    The POIID that includes the EV POI identifier.

    names

    The names of the EV POI result.

    phones

    The phone numbers of the EV POI result`

    emails

    The emails of the EV POI result`

    place

    The Place of the EV POI result.

    chargingStations

    A list of ChargingStations that hold information related to the EV POI.

    openingHours

    The opening hours of the EV POI.

    timeZone

    The time zone of the EV POI.

    paymentOptions

    A list of payment options supported by the EV POI.

    accessType

    A list of access types of the EV POI.

  • Creates an EVSearchResult instance with given parameters.

    Important

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

    Declaration

    Swift

    public init(
        id: POIID,
        names: [String] = [],
        phones: [String] = [],
        emails: [String] = [],
        place: Place,
        chargingStations: [ChargingStation] = [],
        openingHours: OpeningHours? = nil,
        timeZone: TimeZone? = nil,
        paymentOptions: [ChargingPark.PaymentOptions] = [],
        accessType: ChargingPark.AccessType? = nil,
        detour: Detour? = nil
    )

    Parameters

    id

    The POIID that includes the EV POI identifier.

    names

    The names of the EV POI result.

    phones

    The phone numbers of the EV POI result.

    emails

    The emails of the EV POI result.

    place

    The Place of the EV POI result.

    chargingStations

    A list of ChargingStations that hold information related to the EV POI.

    openingHours

    The opening hours of the EV POI.

    timeZone

    The time zone of the EV POI.

    paymentOptions

    A list of payment options supported by the EV POI.

    accessType

    A list of access types of the EV POI.

    detour

    The detailed information about detour which should be taken to reach the electric vehicle search result position.

  • The detailed information about detour which should be taken to reach the electric vehicle search result position.

    Important

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

    Declaration

    Swift

    public let detour: Detour?
  • id

    The POIID that includes the EV POI identifier.

    Declaration

    Swift

    public let id: POIID
  • The names of the EV POI result.

    Declaration

    Swift

    public let names: [String]
  • The phone numbers of the EV POI result.

    Declaration

    Swift

    public let phones: [String]
  • The emails of the EV POI result.

    Declaration

    Swift

    public let emails: [String]
  • The Place of the EV POI result.

    Declaration

    Swift

    public let place: Place
  • A list of ChargingStations that hold information related to the EV POI.

    Declaration

    Swift

    public let chargingStations: [ChargingStation]
  • The opening hours of the EV POI.

    Declaration

    Swift

    public let openingHours: OpeningHours?
  • The time zone of the EV POI.

    Declaration

    Swift

    public let timeZone: TimeZone?
  • A list of payment options supported by the EV POI.

    Declaration

    Swift

    public let paymentOptions: [ChargingPark.PaymentOptions]
  • Access type of the EV POI.

    Declaration

    Swift

    public let accessType: ChargingPark.AccessType?