Renamed accountNumber to accountIdentifier

This commit is contained in:
dankl 2019-10-12 13:52:04 +02:00 committed by dankito
parent 93e268c0d0
commit 7544c9c666
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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)