Renamed accountNumber to accountIdentifier
This commit is contained in:
parent
93e268c0d0
commit
7544c9c666
|
@ -34,7 +34,7 @@ open class AccountStatement(
|
||||||
*/
|
*/
|
||||||
val bankCodeBicOrIban: String,
|
val bankCodeBicOrIban: String,
|
||||||
|
|
||||||
val accountNumber: String?,
|
val accountIdentifier: String?,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Falls eine Auszugsnummer nicht unterstützt wird, ist „0“ einzustellen.
|
* Falls eine Auszugsnummer nicht unterstützt wird, ist „0“ einzustellen.
|
||||||
|
|
|
@ -59,7 +59,7 @@ class Mt940ParserTest {
|
||||||
val statement = result.first()
|
val statement = result.first()
|
||||||
|
|
||||||
assertThat(statement.bankCodeBicOrIban).isEqualTo(BankCode)
|
assertThat(statement.bankCodeBicOrIban).isEqualTo(BankCode)
|
||||||
assertThat(statement.accountNumber).isEqualTo(CustomerId)
|
assertThat(statement.accountIdentifier).isEqualTo(CustomerId)
|
||||||
assertBalance(statement.openingBalance, true, AccountStatement1PreviousStatementBookingDate, AccountStatement1OpeningBalanceAmount)
|
assertBalance(statement.openingBalance, true, AccountStatement1PreviousStatementBookingDate, AccountStatement1OpeningBalanceAmount)
|
||||||
assertBalance(statement.closingBalance, true, AccountStatement1BookingDate, AccountStatement1ClosingBalanceAmount)
|
assertBalance(statement.closingBalance, true, AccountStatement1BookingDate, AccountStatement1ClosingBalanceAmount)
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ class Mt940ParserTest {
|
||||||
val statement = result.first()
|
val statement = result.first()
|
||||||
|
|
||||||
assertThat(statement.bankCodeBicOrIban).isEqualTo(BankCode)
|
assertThat(statement.bankCodeBicOrIban).isEqualTo(BankCode)
|
||||||
assertThat(statement.accountNumber).isEqualTo(CustomerId)
|
assertThat(statement.accountIdentifier).isEqualTo(CustomerId)
|
||||||
assertBalance(statement.openingBalance, true, AccountStatement1PreviousStatementBookingDate, AccountStatement1OpeningBalanceAmount)
|
assertBalance(statement.openingBalance, true, AccountStatement1PreviousStatementBookingDate, AccountStatement1OpeningBalanceAmount)
|
||||||
assertBalance(statement.closingBalance, true, AccountStatement1BookingDate, AccountStatement1With2TransactionsClosingBalanceAmount)
|
assertBalance(statement.closingBalance, true, AccountStatement1BookingDate, AccountStatement1With2TransactionsClosingBalanceAmount)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue