Updated on 2026-08-14
This commit is contained in:
parent
88af2e8aa5
commit
322d0364e5
15 changed files with 70 additions and 114 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue