stripe-android
payments-ui-core
/
com.stripe.android.ui.core.elements
/
DropdownSpec
Dropdown
Spec
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
@
Serializable
data
class
DropdownSpec
(
val
apiPath
:
IdentifierSpec
,
val
labelTranslationId
:
TranslationId
,
val
items
:
List
<
DropdownItemSpec
>
)
:
FormItemSpec
Constructors
Functions
Properties
Constructors
Dropdown
Spec
Link copied to clipboard
fun
DropdownSpec
(
apiPath
:
IdentifierSpec
,
labelTranslationId
:
TranslationId
,
items
:
List
<
DropdownItemSpec
>
)
Functions
transform
Link copied to clipboard
fun
transform
(
initialValues
:
Map
<
IdentifierSpec
,
String
?
>
=
mapOf()
)
:
SectionElement
Properties
api
Path
Link copied to clipboard
open
override
val
apiPath
:
IdentifierSpec
items
Link copied to clipboard
val
items
:
List
<
DropdownItemSpec
>
label
Translation
Id
Link copied to clipboard
val
labelTranslationId
:
TranslationId