Receipt

data class Receipt(val consumedEnergy: Energy, val sessionCost: Cost) : Parcelable

Contains information about the completed session.

Parameters

consumedEnergy

Energy consumed during the charging process.

sessionCost

Completed charging session cost.

Constructors

Link copied to clipboard
fun Receipt(consumedEnergy: Energy, sessionCost: Cost)

Properties

Link copied to clipboard
val consumedEnergy: Energy
Link copied to clipboard
val sessionCost: Cost

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)