Made collection properties open (so that they can be e.g. overwritten with Entity version in sub classes
This commit is contained in:
parent
79e45f0c02
commit
748b4cf98d
|
@ -25,8 +25,8 @@ open class BankAccount(
|
||||||
var haveAllTransactionsBeenRetrieved: Boolean = false,
|
var haveAllTransactionsBeenRetrieved: Boolean = false,
|
||||||
val countDaysForWhichTransactionsAreKept: Int? = null,
|
val countDaysForWhichTransactionsAreKept: Int? = null,
|
||||||
|
|
||||||
val bookedTransactions: MutableList<AccountTransaction> = mutableListOf(),
|
open val bookedTransactions: MutableList<AccountTransaction> = mutableListOf(),
|
||||||
val unbookedTransactions: MutableList<UnbookedAccountTransaction> = mutableListOf(),
|
open val unbookedTransactions: MutableList<UnbookedAccountTransaction> = mutableListOf(),
|
||||||
|
|
||||||
var userSetDisplayName: String? = null,
|
var userSetDisplayName: String? = null,
|
||||||
var displayIndex: Int = 0,
|
var displayIndex: Int = 0,
|
||||||
|
|
|
@ -7,7 +7,7 @@ import net.codinux.banking.client.model.tan.TanMethod
|
||||||
|
|
||||||
@Suppress("RUNTIME_ANNOTATION_NOT_SUPPORTED")
|
@Suppress("RUNTIME_ANNOTATION_NOT_SUPPORTED")
|
||||||
@NoArgConstructor
|
@NoArgConstructor
|
||||||
open class CustomerAccount(
|
open class CustomerAccount( // TODO: is actually a UserAccount
|
||||||
val bankCode: String,
|
val bankCode: String,
|
||||||
var loginName: String,
|
var loginName: String,
|
||||||
/**
|
/**
|
||||||
|
@ -21,7 +21,7 @@ open class CustomerAccount(
|
||||||
val customerName: String,
|
val customerName: String,
|
||||||
val userId: String = loginName,
|
val userId: String = loginName,
|
||||||
|
|
||||||
val accounts: List<BankAccount> = emptyList(),
|
open val accounts: List<BankAccount> = emptyList(),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Identifier of selected TanMethod.
|
* Identifier of selected TanMethod.
|
||||||
|
@ -30,7 +30,7 @@ open class CustomerAccount(
|
||||||
* [selectedTanMethod] to get selected TanMethod or iterate over [tanMethods] and filter selected one by this id.
|
* [selectedTanMethod] to get selected TanMethod or iterate over [tanMethods] and filter selected one by this id.
|
||||||
*/
|
*/
|
||||||
val selectedTanMethodId: String? = null,
|
val selectedTanMethodId: String? = null,
|
||||||
val tanMethods: List<TanMethod> = listOf(),
|
open val tanMethods: List<TanMethod> = listOf(),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Identifier of selected TanMedium.
|
* Identifier of selected TanMedium.
|
||||||
|
@ -39,7 +39,7 @@ open class CustomerAccount(
|
||||||
* to get selected TanMedium or iterate over [tanMedia] and filter selected one by this medium name.
|
* to get selected TanMedium or iterate over [tanMedia] and filter selected one by this medium name.
|
||||||
*/
|
*/
|
||||||
val selectedTanMediumName: String? = null,
|
val selectedTanMediumName: String? = null,
|
||||||
val tanMedia: List<TanMedium> = listOf(),
|
open val tanMedia: List<TanMedium> = listOf(),
|
||||||
|
|
||||||
var bankingGroup: BankingGroup? = null,
|
var bankingGroup: BankingGroup? = null,
|
||||||
var iconUrl: String? = null,
|
var iconUrl: String? = null,
|
||||||
|
|
Loading…
Reference in New Issue