Set default value for allAccounts

This commit is contained in:
dankl 2019-10-13 17:31:50 +02:00 committed by dankito
parent db696c0744
commit 5ebbf0d383
2 changed files with 2 additions and 7 deletions

View File

@ -97,12 +97,7 @@ open class MessageBuilder(protected val generator: ISegmentNumberGenerator = Seg
open fun createGetBalanceMessage(bank: BankData, customer: CustomerData, product: ProductData, dialogData: DialogData): String { open fun createGetBalanceMessage(bank: BankData, customer: CustomerData, product: ProductData, dialogData: DialogData): String {
return createSignedMessage(bank, customer, dialogData, listOf( return createSignedMessage(bank, customer, dialogData, listOf(
Saldenabfrage( Saldenabfrage(generator.resetSegmentNumber(2), bank, customer),
generator.resetSegmentNumber(2),
bank,
customer,
false
),
ZweiSchrittTanEinreichung(generator.getNextSegmentNumber(), TanProcess.TanProcess4, CustomerSegmentId.Balance) ZweiSchrittTanEinreichung(generator.getNextSegmentNumber(), TanProcess.TanProcess4, CustomerSegmentId.Balance)
)) ))
} }

View File

@ -14,7 +14,7 @@ open class Saldenabfrage(
segmentNumber: Int, segmentNumber: Int,
bank: BankData, bank: BankData,
customer: CustomerData, // TODO: pass AccountData instead customer: CustomerData, // TODO: pass AccountData instead
allAccounts: Boolean, allAccounts: Boolean = false,
maxAmountEntries: Int? = null maxAmountEntries: Int? = null
) )
: Segment(listOf( : Segment(listOf(