From 7544c9c66617584b2c902719bf5c801cbc9f4212 Mon Sep 17 00:00:00 2001 From: dankl Date: Sat, 12 Oct 2019 13:52:04 +0200 Subject: [PATCH] Renamed accountNumber to accountIdentifier --- .../fints/transactions/mt940/model/AccountStatement.kt | 2 +- .../kotlin/net/dankito/fints/transactions/Mt940ParserTest.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)