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 {
|
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)
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue