SelectionResult

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

SelectionResult contains data collected from a selection form

Parameters

skipped

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

selection

selected button. 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, selection: String?, toggles: List<ToggleResult>)

Properties

Link copied to clipboard
Link copied to clipboard
open override val skipped: Boolean
Link copied to clipboard