PhoneResult

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

PhoneResult contains data collected from a phone form

Parameters

skipped

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

phone

the submitted phone number in E.164 format. 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, phone: String?, toggles: List<ToggleResult>)

Properties

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