Added timestamp at which TanChallenge was created
This commit is contained in:
parent
59b8213163
commit
8cc2f3bdcd
|
@ -1,5 +1,7 @@
|
||||||
package net.codinux.banking.fints.model
|
package net.codinux.banking.fints.model
|
||||||
|
|
||||||
|
import kotlinx.datetime.Clock
|
||||||
|
import kotlinx.datetime.Instant
|
||||||
import net.codinux.banking.fints.messages.datenelemente.implementierte.tan.TanMedium
|
import net.codinux.banking.fints.messages.datenelemente.implementierte.tan.TanMedium
|
||||||
import net.codinux.banking.fints.response.BankResponse
|
import net.codinux.banking.fints.response.BankResponse
|
||||||
import net.codinux.banking.fints.response.client.FinTsClientResponse
|
import net.codinux.banking.fints.response.client.FinTsClientResponse
|
||||||
|
@ -12,7 +14,8 @@ open class TanChallenge(
|
||||||
val tanMethod: TanMethod,
|
val tanMethod: TanMethod,
|
||||||
val tanMediaIdentifier: String?,
|
val tanMediaIdentifier: String?,
|
||||||
val bank: BankData,
|
val bank: BankData,
|
||||||
val account: AccountData? = null
|
val account: AccountData? = null,
|
||||||
|
val timestamp: Instant = Clock.System.now()
|
||||||
) {
|
) {
|
||||||
|
|
||||||
var enterTanResult: EnterTanResult? = null
|
var enterTanResult: EnterTanResult? = null
|
||||||
|
|
Loading…
Reference in New Issue