toggle menu
stripe-android
androidJvm
switch theme
search in API
payments-ui-core
/
com.stripe.android.ui.core.elements
/
NameSpec
Name
Spec
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
@
Serializable
data
class
NameSpec
(
val
apiPath
:
IdentifierSpec
=
IdentifierSpec.Name
,
val
labelTranslationId
:
TranslationId
=
TranslationId.AddressName
)
:
FormItemSpec
Members
Constructors
Name
Spec
Link copied to clipboard
constructor
(
apiPath
:
IdentifierSpec
=
IdentifierSpec.Name
,
labelTranslationId
:
TranslationId
=
TranslationId.AddressName
)
Properties
api
Path
Link copied to clipboard
@
SerialName
(
value
=
"api_path"
)
open
override
val
apiPath
:
IdentifierSpec
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
?
>
)
:
SectionElement
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)