toggle menu
stripe-android
androidJvm
switch theme
search in API
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
Members
Constructors
Dropdown
Spec
Link copied to clipboard
constructor
(
apiPath
:
IdentifierSpec
,
labelTranslationId
:
TranslationId
,
items
:
List
<
DropdownItemSpec
>
)
Properties
api
Path
Link copied to clipboard
@
SerialName
(
value
=
"api_path"
)
open
override
val
apiPath
:
IdentifierSpec
items
Link copied to clipboard
@
SerialName
(
value
=
"items"
)
val
items
:
List
<
DropdownItemSpec
>
label
Translation
Id
Link copied to clipboard
@
SerialName
(
value
=
"translation_id"
)
val
labelTranslationId
:
TranslationId
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
transform
Link copied to clipboard
fun
transform
(
initialValues
:
Map
<
IdentifierSpec
,
String
?
>
=
mapOf()
)
:
SectionElement
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)