Updated on 2026-08-14
This commit is contained in:
parent
4341673767
commit
03b3a7d0a2
12 changed files with 168 additions and 181 deletions
|
|
@ -12,18 +12,14 @@ import com.tangem.domain.models.wallet.UserWalletId
|
|||
*/
|
||||
interface WalletAccountsSaver {
|
||||
|
||||
/** Push and store wallet accounts [response] by [userWalletId] */
|
||||
@Throws
|
||||
suspend fun pushAndStore(userWalletId: UserWalletId, response: GetWalletAccountsResponse)
|
||||
|
||||
/** Store wallet accounts [response] by [userWalletId] */
|
||||
suspend fun store(userWalletId: UserWalletId, response: GetWalletAccountsResponse)
|
||||
|
||||
/** Push wallet accounts [body] by [userWalletId] */
|
||||
@Throws
|
||||
suspend fun push(userWalletId: UserWalletId, body: SaveWalletAccountsResponse)
|
||||
suspend fun push(userWalletId: UserWalletId, body: SaveWalletAccountsResponse): GetWalletAccountsResponse?
|
||||
|
||||
/** Push wallet accounts [accounts] by [userWalletId] */
|
||||
@Throws
|
||||
suspend fun push(userWalletId: UserWalletId, accounts: List<WalletAccountDTO>)
|
||||
suspend fun push(userWalletId: UserWalletId, accounts: List<WalletAccountDTO>): GetWalletAccountsResponse?
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue