TextResult

data class TextResult(val skipped: Boolean, val text: String?, val toggles: List<ToggleResult>) : CollectInputsResult

TextResult contains data collected from a text form

Parameters

skipped

if true, the skip button was pressed to skip the form.

text

the submitted text. Null if the form was skipped.

toggles

list of toggles and selected value. Values are ToggleResult.SKIPPED if form was skipped.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Constructors

Link copied to clipboard
constructor(skipped: Boolean, text: String?, toggles: List<ToggleResult>)

Properties

Link copied to clipboard
open override val skipped: Boolean
Link copied to clipboard
val text: String?
Link copied to clipboard