Updated on 2026-08-14
This commit is contained in:
parent
25444c3a2d
commit
2ee2edeeef
18 changed files with 255 additions and 14 deletions
|
|
@ -29,7 +29,10 @@ internal class TangemPayCashbackModel @Inject constructor(
|
|||
// TODO([REDACTED_TASK_KEY]): replace stub with repository load
|
||||
val STUB_CASHBACK = TangemPayCashback(
|
||||
confirmedAmount = BigDecimal("22.54"),
|
||||
pendingAmount = BigDecimal("13.65"),
|
||||
currency = "USD",
|
||||
payoutCurrency = "USDC",
|
||||
payoutNetwork = "Polygon",
|
||||
period = TangemPayCashback.Period(
|
||||
year = 2026,
|
||||
month = 6,
|
||||
|
|
|
|||
|
|
@ -141,7 +141,10 @@ internal class TangemPayCashbackUmConverterTest {
|
|||
payoutEnd: DateTime = DateTime.parse("2026-07-05"),
|
||||
): TangemPayCashback = TangemPayCashback(
|
||||
confirmedAmount = confirmedAmount,
|
||||
pendingAmount = BigDecimal.ZERO,
|
||||
currency = currency,
|
||||
payoutCurrency = "USDC",
|
||||
payoutNetwork = "Polygon",
|
||||
period = TangemPayCashback.Period(
|
||||
year = year,
|
||||
month = month,
|
||||
|
|
|
|||
|
|
@ -128,7 +128,10 @@ internal class CashbackBlockTransformerTest {
|
|||
displayMode = CashbackDisplayMode.FULL,
|
||||
cashback = TangemPayCashback(
|
||||
confirmedAmount = confirmedAmount,
|
||||
pendingAmount = BigDecimal("13.65"),
|
||||
currency = currency,
|
||||
payoutCurrency = "USDC",
|
||||
payoutNetwork = "Polygon",
|
||||
period = TangemPayCashback.Period(
|
||||
year = year,
|
||||
month = month,
|
||||
|
|
@ -136,7 +139,6 @@ internal class CashbackBlockTransformerTest {
|
|||
payoutEnd = payoutEnd,
|
||||
),
|
||||
),
|
||||
pendingAmount = BigDecimal("13.65"),
|
||||
)
|
||||
|
||||
private fun contentState(): TangemPayDetailsUM = TangemPayDetailsUM(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue