CollectInputsSelectionOutcome

data class CollectInputsSelectionOutcome(required: Boolean, customText: CollectInputsCustomText, skipped: Boolean, selectionChoices: List<CollectInputsSelectionChoice>, selectedChoice: String?) : CollectInputsOutcome

CollectInputsSelectionResult contains data collected from a selection form and data used to populate the form.

Parameters

required

if true, a skip button was not shown on the form. If false, a skip button was shown.

customText

text used to display strings on the form

skipped

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

selectionChoices

selection buttons displayed on the reader

selectedChoice

selected button. Null if the form was skipped.

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

Constructors

Link copied to clipboard
fun CollectInputsSelectionOutcome(required: Boolean, customText: CollectInputsCustomText, skipped: Boolean, selectionChoices: List<CollectInputsSelectionChoice>, selectedChoice: String?)

Properties

Link copied to clipboard
val customText: CollectInputsCustomText
Link copied to clipboard
val required: Boolean
Link copied to clipboard
val selectedChoice: String?
Link copied to clipboard
val selectionChoices: List<CollectInputsSelectionChoice>
Link copied to clipboard
val skipped: Boolean