Updated on 2026-08-14

This commit is contained in:
Tangem 2022-05-18 11:20:42 +03:00
parent bd3ab3e125
commit 714eaf5668
21 changed files with 165 additions and 97 deletions

View file

@ -0,0 +1,18 @@
package com.tangem.tap.common.entities
data class FiatCurrency(
val code: String,
val name: String,
val symbol: String,
) {
val displayName: String
get() = "${this.name} (${this.code}) - ${this.symbol}"
companion object {
val Default = FiatCurrency(
symbol = "$",
code = "USD",
name = "US Dollar",
)
}
}