Updated on 2026-08-14
This commit is contained in:
parent
ebb5b5830e
commit
d1c13037e0
42 changed files with 246 additions and 80 deletions
|
|
@ -0,0 +1,6 @@
|
|||
package com.tangem.domain.pay
|
||||
|
||||
data class KycStartInfo(
|
||||
val token: String,
|
||||
val locale: String,
|
||||
)
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
package com.tangem.domain.pay.repository
|
||||
|
||||
import arrow.core.Either
|
||||
import com.tangem.core.error.UniversalError
|
||||
import com.tangem.domain.pay.KycStartInfo
|
||||
import com.tangem.domain.wallets.models.UserWalletId
|
||||
|
||||
interface KycRepository {
|
||||
|
||||
suspend fun getKycStartInfo(): Either<UniversalError, KycStartInfo>
|
||||
|
||||
interface Factory {
|
||||
fun create(userWalletId: UserWalletId): KycRepository
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue