Added iconUrl to constructor
This commit is contained in:
parent
108774e7de
commit
6ea4692e26
|
@ -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)"
|
||||||
|
|
Loading…
Reference in New Issue