ValueInUnits

data class ValueInUnits(val amount: Int, val unit: ValueInUnitsType)

Data class representing a numeric value with an associated unit.

Parameters

amount

The number of reward units.

unit

Type of units.

Constructors

Link copied to clipboard
constructor(amount: Int, unit: ValueInUnitsType)

Properties

Link copied to clipboard
val amount: Int
Link copied to clipboard