Added countMaxJobsPerMessage and supportedHbciVersions to BankData
This commit is contained in:
parent
0ee2ed407f
commit
3167665f67
|
@ -196,9 +196,14 @@ open class FinTsClient(
|
|||
response.getFirstSegmentById<BankParameters>(InstituteSegmentId.BankParameters)?.let { bankParameters ->
|
||||
bank.bpdVersion = bankParameters.bpdVersion
|
||||
bank.name = bankParameters.bankName
|
||||
bank.bankCode = bankParameters.bankCode
|
||||
bank.countryCode = bankParameters.bankCountryCode
|
||||
bank.countMaxJobsPerMessage = bankParameters.countMaxJobsPerMessage
|
||||
bank.supportedHbciVersions = bankParameters.supportedHbciVersions
|
||||
bank.supportedLanguages = bankParameters.supportedLanguages
|
||||
|
||||
// bank.bic = bankParameters. // TODO: where's the BIC?
|
||||
// bank.finTs3ServerAddress = // TODO: parse HIKOM
|
||||
// TODO: save supported languages and security profiles
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,15 +2,24 @@ 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.HbciVersion
|
||||
|
||||
|
||||
open class BankData(
|
||||
val bankCode: String,
|
||||
val countryCode: Int,
|
||||
var bankCode: String,
|
||||
var countryCode: Int,
|
||||
var finTs3ServerAddress: String,
|
||||
var bpdVersion: Int = BPDVersion.VersionNotReceivedYet,
|
||||
var name: String = "",
|
||||
var bic: String? = null,
|
||||
|
||||
/**
|
||||
* Maximale Anzahl an Geschäftsvorfallsarten, die pro Nachricht zulässig ist.
|
||||
* Der Wert ‚0’ gibt an, dass keine Restriktionen bzgl. der Anzahl an Geschäftsvorfallsarten bestehen.
|
||||
*/
|
||||
var countMaxJobsPerMessage: Int = 0,
|
||||
|
||||
var supportedHbciVersions: List<HbciVersion> = listOf(),
|
||||
var supportedLanguages: List<Dialogsprache> = listOf()
|
||||
) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue