diff --git a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/BankAccountIdentifier.kt b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/BankAccountIdentifier.kt index 08cd0145..3bf5b0c3 100644 --- a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/BankAccountIdentifier.kt +++ b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/BankAccountIdentifier.kt @@ -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" } \ No newline at end of file