diff --git a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/responses/AddAccountResponse.kt b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/responses/AddAccountResponse.kt index fed27dfc..44dffa28 100644 --- a/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/responses/AddAccountResponse.kt +++ b/ui/BankingUiCommon/src/commonMain/kotlin/net/dankito/banking/ui/model/responses/AddAccountResponse.kt @@ -8,9 +8,9 @@ open class AddAccountResponse( isSuccessful: Boolean, errorToShowToUser: String?, open val customer: TypedCustomer, - open val retrievedData: List = listOf(), + retrievedData: List = listOf(), userCancelledAction: Boolean = false -) : BankingClientResponse(isSuccessful, errorToShowToUser, userCancelledAction) { +) : GetTransactionsResponse(isSuccessful, errorToShowToUser, retrievedData, userCancelledAction) { open val supportsRetrievingTransactionsOfLast90DaysWithoutTan: Boolean get() = retrievedData.isNotEmpty() && retrievedData.any { it.successfullyRetrievedData }