Added timestamp at which TanChallenge was created

This commit is contained in:
dankito 2024-09-08 18:31:02 +02:00
parent 59b8213163
commit 8cc2f3bdcd
1 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
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.response.BankResponse
import net.codinux.banking.fints.response.client.FinTsClientResponse
@ -12,7 +14,8 @@ open class TanChallenge(
val tanMethod: TanMethod,
val tanMediaIdentifier: String?,
val bank: BankData,
val account: AccountData? = null
val account: AccountData? = null,
val timestamp: Instant = Clock.System.now()
) {
var enterTanResult: EnterTanResult? = null