diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/model/BankData.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/model/BankData.kt index a7975351..67b51f4b 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/model/BankData.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/model/BankData.kt @@ -1,5 +1,6 @@ package net.dankito.fints.model +import net.dankito.fints.messages.datenelemente.implementierte.BPDVersion import net.dankito.fints.messages.datenelemente.implementierte.Dialogsprache @@ -7,7 +8,7 @@ open class BankData( val bankCode: String, val countryCode: Int, var finTs3ServerAddress: String, - var bpdVersion: Int = 0, + var bpdVersion: Int = BPDVersion.VersionNotReceivedYet, var supportedLanguages: List = listOf() ) { diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/model/CustomerData.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/model/CustomerData.kt index 3fc6aa2d..81ae9dd5 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/model/CustomerData.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/model/CustomerData.kt @@ -9,7 +9,7 @@ open class CustomerData( val customerId: String, var pin: String, val userId: String = customerId, - var updVersion: Int = 0, + var updVersion: Int = UPDVersion.VersionNotReceivedYet, var availableTanProcedures: List = listOf(), var selectedTanProcedure: TanProcedure? = null, var securityMethod: Sicherheitsverfahren = Sicherheitsverfahren.PIN_TAN_Verfahren,