Renamed name to accountHolderName

This commit is contained in:
dankl 2020-01-26 12:25:52 +01:00 committed by dankito
parent cfcad3f5e0
commit 4cd023c5f4
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import java.math.BigDecimal
open class BankAccount @JvmOverloads constructor( open class BankAccount @JvmOverloads constructor(
val account: Account, val account: Account,
val identifier: String, val identifier: String,
var name: String, var accountHolderName: String,
var iban: String?, var iban: String?,
var subAccountNumber: String?, var subAccountNumber: String?,
var balance: BigDecimal = BigDecimal.ZERO, var balance: BigDecimal = BigDecimal.ZERO,
@ -64,7 +64,7 @@ open class BankAccount @JvmOverloads constructor(
override fun toString(): String { override fun toString(): String {
return "$name ($identifier)" return "$accountHolderName ($identifier)"
} }
} }