Updated on 2026-08-14

This commit is contained in:
Tangem 2025-11-24 21:29:11 +04:00
parent 88af2e8aa5
commit 322d0364e5
15 changed files with 70 additions and 114 deletions

View file

@ -15,8 +15,6 @@ interface OnboardingRepository {
suspend fun getCustomerInfo(): Either<UniversalError, CustomerInfo>
suspend fun createOrder(): Either<UniversalError, Unit>
/**
* Returns only if the user already authorised at least once
*/

View file

@ -1,12 +0,0 @@
package com.tangem.domain.pay.usecase
import arrow.core.Either
import com.tangem.core.error.UniversalError
import com.tangem.domain.pay.repository.OnboardingRepository
class TangemPayIssueOrderUseCase(
private val repository: OnboardingRepository,
) {
suspend operator fun invoke(): Either<UniversalError, Unit> = repository.createOrder()
}