kin-android

kin-android / org.kin.sdk.base.models / KinAmount

KinAmount

data class KinAmount

Constructors

Name Summary
<init> KinAmount(value: String)
KinAmount(value: BigInteger)
KinAmount(value: Long)
KinAmount(value: Double)
KinAmount(amount: BigDecimal)

Properties

Name Summary
value val value: BigDecimal

Functions

Name Summary
equals fun equals(other: Any?): Boolean
hashCode fun hashCode(): Int
plus operator fun plus(amount: KinAmount): KinAmount
toString fun toString(): String
fun toString(precision: Int): String

Companion Object Properties

Name Summary
ONE val ONE: KinAmount
ZERO val ZERO: KinAmount

Extension Functions

Name Summary
toQuarks fun KinAmount.toQuarks(): QuarkAmount