We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec689b commit aa2fb07Copy full SHA for aa2fb07
libpretixsync/src/main/java/eu/pretix/libpretixsync/check/TicketCheckProvider.kt
@@ -40,17 +40,13 @@ interface TicketCheckProvider {
40
}
41
42
class QuestionAnswer {
43
- private lateinit var _question: QuestionModel
44
- private lateinit var _jsonData: String
+ // Either set by constructor or de-serialization
+ lateinit var question: QuestionOutput
45
46
var currentValue: String? = null
47
48
- val question: QuestionOutput
49
- get() = QuestionOutput(_question, _jsonData)
50
-
51
constructor(question: QuestionModel, jsonData: String, currentValue: String?) {
52
- this._question = question
53
- this._jsonData = jsonData
+ this.question = QuestionOutput(question, jsonData)
54
this.currentValue = currentValue
55
56
0 commit comments