diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/BankResponse.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/BankResponse.kt index 3cd7df9d..0a0554d6 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/BankResponse.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/BankResponse.kt @@ -61,7 +61,8 @@ open class BankResponse( open val successful: Boolean get() = internalError == null && noTanMethodSelected == false && couldCreateMessage && didReceiveResponse - && responseContainsErrors == false && wrongCredentialsEntered == false + && responseContainsErrors == false + && isPinLocked == false && wrongCredentialsEntered == false && tanRequiredButUserDidNotEnterOne == false && tanRequiredButWeWereToldToAbortIfSo == false open val isStrongAuthenticationRequired: Boolean diff --git a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/FinTsClientResponse.kt b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/FinTsClientResponse.kt index 350c9bbc..b032d1af 100644 --- a/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/FinTsClientResponse.kt +++ b/fints4k/src/commonMain/kotlin/net/dankito/banking/fints/response/client/FinTsClientResponse.kt @@ -24,6 +24,8 @@ open class FinTsClientResponse( open val errorMessagesFromBank: List = listOf(), + open val isPinLocked: Boolean = false, + open val wrongCredentialsEntered: Boolean = false, open val userCancelledAction: Boolean = false, @@ -40,7 +42,7 @@ open class FinTsClientResponse( constructor(context: JobContext, response: BankResponse) : this(response.successful, response.noTanMethodSelected, response.isStrongAuthenticationRequired, response.tanResponse, context.messageLogWithoutSensitiveData, - response.internalError, response.errorsToShowToUser, response.wrongCredentialsEntered, + response.internalError, response.errorsToShowToUser, response.isPinLocked, response.wrongCredentialsEntered, response.tanRequiredButUserDidNotEnterOne, response.tanRequiredButWeWereToldToAbortIfSo, response.messageThatCouldNotBeCreated?.isJobAllowed ?: true, response.messageThatCouldNotBeCreated?.isJobVersionSupported ?: true,