Added HKSAL 8
This commit is contained in:
parent
869739483f
commit
5ce12fe382
|
@ -231,8 +231,9 @@ open class MessageBuilder(protected val utils: FinTsUtils = FinTsUtils()) {
|
|||
val segmentNumber = SignedMessagePayloadFirstSegmentNumber
|
||||
|
||||
val balanceJob = if (result.isAllowed(6)) SaldenabfrageVersion6(segmentNumber, account)
|
||||
else if (result.isAllowed(5)) SaldenabfrageVersion5(segmentNumber, account)
|
||||
else SaldenabfrageVersion7(segmentNumber, account, context.bank)
|
||||
else if (result.isAllowed(7)) SaldenabfrageVersion7(segmentNumber, account, context.bank)
|
||||
else if (result.isAllowed(8)) SaldenabfrageVersion8(segmentNumber, account, context.bank)
|
||||
else SaldenabfrageVersion5(segmentNumber, account)
|
||||
|
||||
val segments = mutableListOf<Segment>(balanceJob)
|
||||
|
||||
|
@ -249,7 +250,7 @@ open class MessageBuilder(protected val utils: FinTsUtils = FinTsUtils()) {
|
|||
}
|
||||
|
||||
protected open fun supportsGetBalanceMessage(account: AccountData): MessageBuilderResult {
|
||||
return getSupportedVersionsOfJobForAccount(CustomerSegmentId.Balance, account, listOf(5, 6, 7))
|
||||
return getSupportedVersionsOfJobForAccount(CustomerSegmentId.Balance, account, listOf(5, 6, 7, 8))
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
package net.dankito.banking.fints.messages.segmente.implementierte.umsaetze
|
||||
|
||||
import net.dankito.banking.fints.messages.datenelementgruppen.implementierte.account.KontoverbindungInternational
|
||||
import net.dankito.banking.fints.model.AccountData
|
||||
import net.dankito.banking.fints.model.BankData
|
||||
|
||||
|
||||
open class SaldenabfrageVersion8(
|
||||
segmentNumber: Int,
|
||||
account: AccountData,
|
||||
bank: BankData,
|
||||
allAccounts: Boolean = false,
|
||||
maxAmountEntries: Int? = null,
|
||||
continuationId: String? = null
|
||||
)
|
||||
: SaldenabfrageBase(segmentNumber, 8, KontoverbindungInternational(account, bank), allAccounts, maxAmountEntries, continuationId)
|
Loading…
Reference in New Issue