Fixed default BPD and UPD version

This commit is contained in:
dankl 2019-10-05 22:26:21 +02:00 committed by dankito
parent b9c5883942
commit a934d29991
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
package net.dankito.fints.model package net.dankito.fints.model
import net.dankito.fints.messages.datenelemente.implementierte.BPDVersion
import net.dankito.fints.messages.datenelemente.implementierte.Dialogsprache import net.dankito.fints.messages.datenelemente.implementierte.Dialogsprache
@ -7,7 +8,7 @@ open class BankData(
val bankCode: String, val bankCode: String,
val countryCode: Int, val countryCode: Int,
var finTs3ServerAddress: String, var finTs3ServerAddress: String,
var bpdVersion: Int = 0, var bpdVersion: Int = BPDVersion.VersionNotReceivedYet,
var supportedLanguages: List<Dialogsprache> = listOf() var supportedLanguages: List<Dialogsprache> = listOf()
) { ) {

View File

@ -9,7 +9,7 @@ open class CustomerData(
val customerId: String, val customerId: String,
var pin: String, var pin: String,
val userId: String = customerId, val userId: String = customerId,
var updVersion: Int = 0, var updVersion: Int = UPDVersion.VersionNotReceivedYet,
var availableTanProcedures: List<TanProcedure> = listOf(), var availableTanProcedures: List<TanProcedure> = listOf(),
var selectedTanProcedure: TanProcedure? = null, var selectedTanProcedure: TanProcedure? = null,
var securityMethod: Sicherheitsverfahren = Sicherheitsverfahren.PIN_TAN_Verfahren, var securityMethod: Sicherheitsverfahren = Sicherheitsverfahren.PIN_TAN_Verfahren,