Updated on 2026-08-14

This commit is contained in:
Tangem 2023-01-20 18:52:52 +08:00
parent e6fcb9e2fe
commit 40c37826bf
198 changed files with 791 additions and 704 deletions

View file

@ -8,7 +8,7 @@ import retrofit2.converter.moshi.MoshiConverterFactory
/**
[REDACTED_AUTHOR]
*/
//TODO("Remove after removing Redux")
// TODO("Remove after removing Redux")
@Deprecated("Provide by DI")
object MoshiConverter {

View file

@ -8,7 +8,7 @@ import retrofit2.Retrofit
/**
[REDACTED_AUTHOR]
*/
//TODO("Remove after removing Redux")
// TODO("Remove after removing Redux")
@Deprecated("Use PaymentologyApi")
object PaymentologyApiService {
val api = createApi()

View file

@ -12,7 +12,7 @@ import retrofit2.Retrofit
/**
[REDACTED_AUTHOR]
*/
//TODO("Remove after removing Redux")
// TODO("Remove after removing Redux")
@Deprecated("Use TangemTechApi")
object TangemTechService {

View file

@ -8,10 +8,10 @@ data class CurrenciesResponse(
data class Currency(
@Json(name = "id") val id: String,
@Json(name = "code") val code: String, // this is an uppercase id
@Json(name = "code") val code: String, // this is an uppercase id
@Json(name = "name") val name: String,
@Json(name = "rateBTC") val rateBTC: String,
@Json(name = "unit") val unit: String, // $, €, ₽
@Json(name = "unit") val unit: String, // $, €, ₽
@Json(name = "type") val type: String,
)
}

View file

@ -2,7 +2,7 @@ package com.tangem.datasource.api.tangemTech.models
import com.squareup.moshi.Json
//rates.keys = networkId's
// rates.keys = networkId's
data class RatesResponse(
@Json(name = "rates") val rates: Map<String, Double>,
)