diff --git a/fints4javaLib/src/main/kotlin/net/dankito/fints/transactions/mt940/model/AccountStatement.kt b/fints4javaLib/src/main/kotlin/net/dankito/fints/transactions/mt940/model/AccountStatement.kt index c09e85fd..c3cf3512 100644 --- a/fints4javaLib/src/main/kotlin/net/dankito/fints/transactions/mt940/model/AccountStatement.kt +++ b/fints4javaLib/src/main/kotlin/net/dankito/fints/transactions/mt940/model/AccountStatement.kt @@ -34,7 +34,7 @@ open class AccountStatement( */ val bankCodeBicOrIban: String, - val accountNumber: String?, + val accountIdentifier: String?, /** * Falls eine Auszugsnummer nicht unterstützt wird, ist „0“ einzustellen. diff --git a/fints4javaLib/src/test/kotlin/net/dankito/fints/transactions/Mt940ParserTest.kt b/fints4javaLib/src/test/kotlin/net/dankito/fints/transactions/Mt940ParserTest.kt index 7895572f..09f06cdb 100644 --- a/fints4javaLib/src/test/kotlin/net/dankito/fints/transactions/Mt940ParserTest.kt +++ b/fints4javaLib/src/test/kotlin/net/dankito/fints/transactions/Mt940ParserTest.kt @@ -59,7 +59,7 @@ class Mt940ParserTest { val statement = result.first() assertThat(statement.bankCodeBicOrIban).isEqualTo(BankCode) - assertThat(statement.accountNumber).isEqualTo(CustomerId) + assertThat(statement.accountIdentifier).isEqualTo(CustomerId) assertBalance(statement.openingBalance, true, AccountStatement1PreviousStatementBookingDate, AccountStatement1OpeningBalanceAmount) assertBalance(statement.closingBalance, true, AccountStatement1BookingDate, AccountStatement1ClosingBalanceAmount) @@ -84,7 +84,7 @@ class Mt940ParserTest { val statement = result.first() assertThat(statement.bankCodeBicOrIban).isEqualTo(BankCode) - assertThat(statement.accountNumber).isEqualTo(CustomerId) + assertThat(statement.accountIdentifier).isEqualTo(CustomerId) assertBalance(statement.openingBalance, true, AccountStatement1PreviousStatementBookingDate, AccountStatement1OpeningBalanceAmount) assertBalance(statement.closingBalance, true, AccountStatement1BookingDate, AccountStatement1With2TransactionsClosingBalanceAmount)