Toggle

data class Toggle(val title: String? = null, val description: String? = null, val defaultValue: ToggleValue) : Serializable

Contains information for a collect inputs toggle

Parameters

title

the main, larger style text.

description

the secondary, smaller style text.

defaultValue

the initial value to be set for the toggle.

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

Constructors

Link copied to clipboard
constructor(title: String? = null, description: String? = null, defaultValue: ToggleValue)

Properties

Link copied to clipboard
Link copied to clipboard
val description: String? = null
Link copied to clipboard
val title: String? = null