Package-level declarations

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

Types

Link copied to clipboard
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
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

The different authentication states an eMSP service can be in.

Link copied to clipboard
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
data class ChargingPointName(val name: String) : Parcelable

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

Link copied to clipboard

Represents the current state of a ChargingPoint.

Link copied to clipboard

Represents the state of the vehicle charging process.

Link copied to clipboard
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
data class Cost(val priceExcludingVat: Int, val priceIncludingVat: Int, val currency: Currency) : Parcelable

Information about the cost.

Link copied to clipboard
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
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
@IviExperimental(reasons = [])
data class EmspServiceInfo(val emspIdentifier: EmspIdentifier, val localizedServiceName: StringResolver, val icon: DrawableResolver, val countriesOfOperation: Set<CountryId>) : Parcelable

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

Link copied to clipboard
@IviExperimental(reasons = [])
data class Receipt(val consumedEnergy: Energy, val sessionCost: Cost) : Parcelable

Contains information about the completed session.

Link copied to clipboard
@IviExperimental(reasons = [])
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.