Mapping accounts named 'Tagesgeld' to Sparkonto as according to Wikipedia some direct banks offer 'Tagesgeldkonten' as a modern version of Sparkonto
This commit is contained in:
parent
3d3d143023
commit
269ad0bb33
|
@ -1263,7 +1263,8 @@ open class FinTsClient(
|
|||
// comdirect doesn't set account type field but names its bank accounts according to them like 'Girokonto', 'Tagesgeldkonto', ...
|
||||
return when {
|
||||
name.contains("Girokonto", true) -> AccountType.Girokonto
|
||||
name.contains("Tagesgeld", true) || name.contains("Festgeld", true) -> AccountType.Festgeldkonto
|
||||
name.contains("Festgeld", true) -> AccountType.Festgeldkonto
|
||||
name.contains("Tagesgeld", true) -> AccountType.Sparkonto // learnt something new today: according to Wikipedia some direct banks offer a modern version of saving accounts as 'Tagesgeldkonto'
|
||||
name.contains("Kreditkarte", true) -> AccountType.Kreditkartenkonto
|
||||
else -> accountInfo.accountType
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue