Updated on 2026-08-14

This commit is contained in:
Tangem 2026-02-04 21:38:15 +04:00
parent 775a03b038
commit 1bb825744e
3 changed files with 51 additions and 30 deletions

View file

@ -1,11 +1,21 @@
package com.tangem.domain.pay
import com.tangem.domain.models.wallet.UserWallet
import com.tangem.domain.models.wallet.UserWalletId
interface TangemPayEligibilityManager {
suspend fun getEligibleWallets(shouldExcludePaeraCustomers: Boolean): List<UserWallet>
/**
* Returns all compatible user wallets without checking Tangem Pay eligibility, only used when opening deeplink
* Remove after removing [TangemPayOnboardingComponent.Params.Deeplink]
* */
suspend fun getPossibleWalletsIds(shouldExcludePaeraCustomers: Boolean): List<UserWalletId>
suspend fun getTangemPayAvailability(): Boolean
suspend fun isPaeraCustomerForAnyWallet(): Boolean
fun reset()
}