Removed outdated 'Customer' from method name

This commit is contained in:
dankito 2020-09-22 06:11:50 +02:00
parent 60c93dedfb
commit 50505831ea
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ open class FinTsClient(
// even though it is required by specification some banks don't support retrieving user's TAN method by setting TAN method to '999'
if (bankDoesNotSupportRetrievingUsersTanMethods(getUsersTanMethodsResponse)) {
getBankAndCustomerInfoForNewUserViaAnonymousDialog(dialogContext.bank, callback) // TODO: should not be necessary anymore
getBankDataForNewUserViaAnonymousDialog(dialogContext.bank, callback) // TODO: should not be necessary anymore
}
else {
callback(getUsersTanMethodsResponse)
@ -173,7 +173,7 @@ open class FinTsClient(
}
// TODO: this is only a quick fix. Find a better and general solution
protected open fun getBankAndCustomerInfoForNewUserViaAnonymousDialog(bank: BankData, callback: (BankResponse) -> Unit) {
protected open fun getBankDataForNewUserViaAnonymousDialog(bank: BankData, callback: (BankResponse) -> Unit) {
getAnonymousBankInfoInternal(bank) { anonymousBankInfoResponse ->
if (anonymousBankInfoResponse.successful == false) {
callback(anonymousBankInfoResponse)