Added savePassword to Bank but now using it yet
This commit is contained in:
parent
5580313eeb
commit
0303f94bee
|
@ -37,7 +37,7 @@ open class BankData(
|
|||
override var tanMedia: List<TanMedium> = listOf()
|
||||
|
||||
|
||||
override var countDaysForWhichTransactionsAreKept: Int? = null
|
||||
override var savePassword: Boolean = true
|
||||
|
||||
|
||||
override var userSetDisplayName: String? = null
|
||||
|
|
|
@ -31,6 +31,8 @@ interface IBankData<TAccount: IBankAccount<TAccountTransaction>, TAccountTransac
|
|||
var selectedTanMethod: TanMethod?
|
||||
var tanMedia: List<TanMedium>
|
||||
|
||||
var savePassword: Boolean
|
||||
|
||||
var userSetDisplayName: String?
|
||||
|
||||
var technicalId: String
|
||||
|
|
|
@ -79,6 +79,7 @@
|
|||
<attribute name="finTsServerAddress" attributeType="String"/>
|
||||
<attribute name="iconUrl" optional="YES" attributeType="String"/>
|
||||
<attribute name="password" attributeType="String"/>
|
||||
<attribute name="savePassword" attributeType="Boolean" defaultValueString="YES" usesScalarValueType="YES"/>
|
||||
<attribute name="selectedTanMethodCode" optional="YES" attributeType="String"/>
|
||||
<attribute name="userId" attributeType="String"/>
|
||||
<attribute name="userName" attributeType="String"/>
|
||||
|
|
|
@ -8,8 +8,7 @@ class Mapper {
|
|||
func map(_ bank: PersistedBankData) -> IBankData {
|
||||
let mapped = BankData(bankCode: map(bank.bankCode), userName: map(bank.userName), password: map(bank.password), finTsServerAddress: map(bank.finTsServerAddress), bankName: map(bank.bankName), bic: map(bank.bic), customerName: map(bank.customerName), userId: map(bank.userId), iconUrl: bank.iconUrl, accounts: [])
|
||||
|
||||
mapped.countDaysForWhichTransactionsAreKept = mapToInt(bank.countDaysForWhichTransactionsAreKept)
|
||||
|
||||
mapped.savePassword = bank.savePassword
|
||||
mapped.userSetDisplayName = bank.userSetDisplayName
|
||||
mapped.displayIndex = bank.displayIndex
|
||||
|
||||
|
@ -38,6 +37,7 @@ class Mapper {
|
|||
mapped.userId = bank.userId
|
||||
mapped.iconUrl = bank.iconUrl
|
||||
|
||||
mapped.savePassword = bank.savePassword
|
||||
mapped.userSetDisplayName = bank.userSetDisplayName
|
||||
mapped.displayIndex = bank.displayIndex
|
||||
|
||||
|
@ -61,7 +61,7 @@ class Mapper {
|
|||
|
||||
mapped.haveAllTransactionsBeenRetrieved = account.haveAllTransactionsBeenRetrieved
|
||||
mapped.isAccountTypeSupportedByApplication = account.isAccountTypeSupportedByApplication
|
||||
mapped.countDaysForWhichTransactionsAreKept = mapToInt(account.countDaysForWhichTransactionsAreKept)
|
||||
mapped.countDaysForWhichTransactionsAreKept = map(account.countDaysForWhichTransactionsAreKept)
|
||||
|
||||
mapped.userSetDisplayName = account.userSetDisplayName
|
||||
mapped.displayIndex = account.displayIndex
|
||||
|
@ -103,7 +103,7 @@ class Mapper {
|
|||
|
||||
mapped.haveAllTransactionsBeenRetrieved = account.haveAllTransactionsBeenRetrieved
|
||||
mapped.isAccountTypeSupportedByApplication = account.isAccountTypeSupportedByApplication
|
||||
mapped.countDaysForWhichTransactionsAreKept = mapFromInt(account.countDaysForWhichTransactionsAreKept)
|
||||
mapped.countDaysForWhichTransactionsAreKept = map(account.countDaysForWhichTransactionsAreKept)!
|
||||
|
||||
mapped.userSetDisplayName = account.userSetDisplayName
|
||||
mapped.displayIndex = account.displayIndex
|
||||
|
|
Loading…
Reference in New Issue