Updated on 2026-08-14
This commit is contained in:
parent
775a03b038
commit
1bb825744e
3 changed files with 51 additions and 30 deletions
|
|
@ -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()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue