Package com.tomtom.ivi.platform.evcharging.api.common.evcharging

This package contains data classes representing information relating to EV Charging.

Types

Link copied to clipboard
data class AccountInfo(val emailAddress: String? = null, val userId: String? = null) : Parcelable

Stores information related to the user's eMSP account.

Link copied to clipboard
data class AuthenticationInfo(val loginUri: Uri? = null, val loginIntent: PendingIntent? = null) : Parcelable

Stores information that will allow a client to start the authentication process for logging in to an eMSP.

Link copied to clipboard
enum AuthenticationState : Enum<AuthenticationState>

The different authentication states an eMSP service can be in.

Link copied to clipboard
data class ChargingPoint(    val evseId: ChargingPointId,     val evseName: ChargingPointName,     val status: ChargingPointState,     val connectors: List<Connector>) : Parcelable

Represents a charging point. An EVSE (Electric Vehicle Supply Equipment) is the part of a ChargingStation that will handle the charging process of one Electrical Vehicle at a time in a single session. An EVSE may have one or more Connectors but only one can be used at a time.

Link copied to clipboard
data class ChargingPointId(val id: String) : Parcelable

ID used for uniquely identifying a particular ChargingPoint. It is not localized and should not be used for display in a production UI.

Link copied to clipboard
data class ChargingPointName(val name: String) : Parcelable

Name of the ChargingPoint as it should be displayed to the user.

Link copied to clipboard
enum ChargingPointState : Enum<ChargingPointState> , Parcelable

Represents the current state of a ChargingPoint.

Link copied to clipboard
enum ChargingState : Enum<ChargingState> , Parcelable

Represents the state of the vehicle charging process.

Link copied to clipboard
data class Connector(val id: String, val type: VehicleEvChargingConnector) : Parcelable

Connector is a specific socket or cable available for the EV to make use of.

Link copied to clipboard
data class Cost(    val priceExcludingVat: Int,     val priceIncludingVat: Int,     val currency: Currency) : Parcelable

Information about the cost.

Link copied to clipboard
data class EmspAuthenticationStatus(    val authenticationState: AuthenticationState,     val authenticationInfo: AuthenticationInfo? = null,     val accountInfo: AccountInfo? = null) : Parcelable

Holds information about the current status of the authentication process with the eMSP including whether the end-user is logged in or not or how to log in, if applicable.

Link copied to clipboard
data class EmspIdentifier(val name: String) : Parcelable

A name used for uniquely identifying a particular e-Mobility Service Provider (eMSP) This is not localized and should not be used for display in a production UI.

Link copied to clipboard
data class EmspServiceInfo(    val emspIdentifier: EmspIdentifier,     val serviceName: String,     val icon: ResourceDrawableResolver,     val countriesOfOperation: Set<CountryId>) : Parcelable

Represents an eMSP (e-Mobility Service Provider) service.

Link copied to clipboard
data class Receipt(val consumedEnergy: Energy, val sessionCost: Cost) : Parcelable

Contains information about the completed session.

Link copied to clipboard
data class SessionInfo(    val activeChargingPoint: ChargingPoint,     val activeSessionId: String?,     val sessionReceipt: Receipt?) : Parcelable

Contains information about the active session once the charging process has started.