diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/mapper/IModelCreator.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/mapper/IModelCreator.kt index c883f1f8..9223df61 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/mapper/IModelCreator.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/mapper/IModelCreator.kt @@ -26,33 +26,33 @@ interface IModelCreator { otherPartyAccountId: String?, bookingText: String?, valueDate: Date, - statementNumber: Int, - sequenceNumber: Int?, - openingBalance: BigDecimal?, - closingBalance: BigDecimal?, + statementNumber: Int = 1, + sequenceNumber: Int? = null, + openingBalance: BigDecimal? = null, + closingBalance: BigDecimal? = null, - endToEndReference: String?, - customerReference: String?, - mandateReference: String?, - creditorIdentifier: String?, - originatorsIdentificationCode: String?, - compensationAmount: String?, - originalAmount: String?, - sepaReference: String?, - deviantOriginator: String?, - deviantRecipient: String?, - referenceWithNoSpecialType: String?, - primaNotaNumber: String?, - textKeySupplement: String?, + endToEndReference: String? = null, + customerReference: String? = null, + mandateReference: String? = null, + creditorIdentifier: String? = null, + originatorsIdentificationCode: String? = null, + compensationAmount: String? = null, + originalAmount: String? = null, + sepaReference: String? = null, + deviantOriginator: String? = null, + deviantRecipient: String? = null, + referenceWithNoSpecialType: String? = null, + primaNotaNumber: String? = null, + textKeySupplement: String? = null, - currencyType: String?, - bookingKey: String, - referenceForTheAccountOwner: String, - referenceOfTheAccountServicingInstitution: String?, - supplementaryDetails: String?, + currencyType: String? = null, + bookingKey: String = "", + referenceForTheAccountOwner: String = "", + referenceOfTheAccountServicingInstitution: String? = null, + supplementaryDetails: String? = null, - transactionReferenceNumber: String, - relatedReferenceNumber: String? + transactionReferenceNumber: String = "", + relatedReferenceNumber: String? = null ) : IAccountTransaction