Updated on 2026-08-14

This commit is contained in:
Tangem 2026-07-27 03:04:49 -07:00
parent d84f383cf8
commit 357bee1107
9 changed files with 7 additions and 47 deletions

View file

@ -107,13 +107,11 @@ sealed class PaymentAccountStatusValue {
* Represents a state where KYC is approved but no tariff plan has been selected yet
*
* @property source The source of the status information.
* @property cryptoCurrency The crypto currency held by the account.
* @property tariffPlan Current tariff plan
*/
@Serializable
data class AwaitingPlanSelection(
override val source: StatusSource,
val cryptoCurrency: CryptoCurrency.Token,
val tariffPlan: TangemPayCustomerTariffPlan,
) : PaymentAccountStatusValue()
@ -122,14 +120,12 @@ sealed class PaymentAccountStatusValue {
*
* @property source The source of the status information.
* @property fiatBalance The fiat balance of state.
* @property cryptoCurrency The crypto currency held by the account.
* @property tariffPlan Current tariff plan
*/
@Serializable
data class Inactive(
override val source: StatusSource,
val fiatBalance: FiatBalance,
val cryptoCurrency: CryptoCurrency.Token,
val tariffPlan: TangemPayTariffPlanState,
) : PaymentAccountStatusValue()

View file

@ -74,7 +74,6 @@ internal class GetCurrentTariffUseCaseTest {
private fun awaitingPlanSelection(source: StatusSource, tariff: TangemPayCustomerTariffPlan) =
PaymentAccountStatusValue.AwaitingPlanSelection(
source = source,
cryptoCurrency = mockk(),
tariffPlan = tariff,
)