Added iconUrl to constructor

This commit is contained in:
dankl 2020-01-13 00:16:01 +01:00 committed by dankito
parent 108774e7de
commit 6ea4692e26
1 changed files with 3 additions and 4 deletions

View File

@ -1,11 +1,12 @@
package net.dankito.banking.ui.model package net.dankito.banking.ui.model
open class Bank( open class Bank @JvmOverloads constructor(
val bankCode: String, val bankCode: String,
var finTsServerAddress: String, var finTsServerAddress: String,
var bic: String, var bic: String,
var name: String var name: String,
var iconUrl: String? = null
) { ) {
@ -15,8 +16,6 @@ open class Bank(
val displayName: String val displayName: String
get() = name get() = name
var iconUrl: String? = null
override fun toString(): String { override fun toString(): String {
return "$name ($bankCode)" return "$name ($bankCode)"