Added convenience constructor

This commit is contained in:
dankito 2024-09-05 22:43:37 +02:00
parent d48b708a97
commit 675066c216
1 changed files with 2 additions and 0 deletions

View File

@ -8,5 +8,7 @@ open class BankAccountIdentifier(
val subAccountNumber: String?,
val iban: String?
) {
constructor(account: BankAccount) : this(account.identifier, account.subAccountNumber, account.iban)
override fun toString() = "$identifier, $iban"
}