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

Types

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

Account information will contain the generic eMSP user account details.

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 ChargingStation(    val id: ChargingStationId,     val locationId: String,     val location: Coordinate,     val operatorName: String?,     val chargingPoints: List<ChargingPoint>) : Parcelable

Charging station is a group of one or more EVSEs (ChargingPoint) that belong together geographically.

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

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

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 EmspServiceInfo(    val serviceName: String,     val icon: ResourceDrawableResolver,     val loginUri: Uri) : Parcelable

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

Link copied to clipboard
interface EvChargingService

An EvChargingService manages the charging of the electric vehicle at the charging station and allows the user to start the charging process and stop this process when required.

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

Contains information about the completed session.