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 {
return createSignedMessage(bank, customer, dialogData, listOf(
Saldenabfrage(
generator.resetSegmentNumber(2),
bank,
customer,
false
),
Saldenabfrage(generator.resetSegmentNumber(2), bank, customer),
ZweiSchrittTanEinreichung(generator.getNextSegmentNumber(), TanProcess.TanProcess4, CustomerSegmentId.Balance)
))
}

View File

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