UserProfile

DTO class for metadata and balance of Users.

Author

Jan Müller
data class UserProfile(id: String,name: String,balance: Double)

Constructors

<init>
Link copied to clipboard
fun <init>(id: String, name: String, balance: Double)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): Double
copy
Link copied to clipboard
fun copy(id: String, name: String, balance: Double): UserProfile
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

balance
Link copied to clipboard
The balance of the User.
val balance: Double
id
Link copied to clipboard
The id of the User.
val id: String
name
Link copied to clipboard
The name of the User.
val name: String