Package net.solarnetwork.ocpp.domain
Class ChargeSessionStartInfo
java.lang.Object
net.solarnetwork.ocpp.domain.ChargeSessionStartInfo
Information about a charging session, at the start of a session.
- Version:
- 1.0
- Author:
- matt
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates builder to buildChargeSessionStartInfo.Get the authorization ID, e.g.Get the Charge Point ID.intGet the charge point connector ID.longGet the meter reading at the time the session started.Get the optional reservation ID.Get the timestamp the session started at.Get a builder, populated with this instance's values.toString()
-
Method Details
-
toString
-
getChargePointId
Get the Charge Point ID.- Returns:
- the Charge Point ID
-
getAuthorizationId
Get the authorization ID, e.g. RFID value.- Returns:
- the authorization ID
-
getConnectorId
public int getConnectorId()Get the charge point connector ID.- Returns:
- the connector ID
-
getTimestampStart
Get the timestamp the session started at.- Returns:
- the starting timestamp
-
getMeterStart
public long getMeterStart()Get the meter reading at the time the session started.- Returns:
- the meter reading, in WH
-
getReservationId
Get the optional reservation ID.- Returns:
- the reservation ID
-
toBuilder
Get a builder, populated with this instance's values.- Returns:
- a pre-populated builder
-
builder
Creates builder to buildChargeSessionStartInfo.- Returns:
- created builder
-