14 lines
No EOL
554 B
Kotlin
14 lines
No EOL
554 B
Kotlin
package net.dankito.banking.fints
|
|
|
|
import kotlinx.coroutines.runBlocking
|
|
import net.dankito.banking.client.model.parameter.GetAccountDataParameter
|
|
import net.dankito.banking.client.model.response.GetAccountDataResponse
|
|
|
|
|
|
fun FinTsClient.getAccountData(bankCode: String, loginName: String, password: String): GetAccountDataResponse {
|
|
return runBlocking { getAccountDataAsync(bankCode, loginName, password) }
|
|
}
|
|
|
|
fun FinTsClient.getAccountData(param: GetAccountDataParameter): GetAccountDataResponse {
|
|
return runBlocking { getAccountDataAsync(param) }
|
|
} |