Set default value for allAccounts
This commit is contained in:
parent
db696c0744
commit
5ebbf0d383
|
@ -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)
|
||||
))
|
||||
}
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue