stripe-android
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
Constructors
Functions
Properties
Constructors
Name
Spec
Link copied to clipboard
fun
NameSpec
(
apiPath
:
IdentifierSpec
=
IdentifierSpec.Name
,
labelTranslationId
:
TranslationId
=
TranslationId.AddressName
)
Functions
transform
Link copied to clipboard
fun
transform
(
initialValues
:
Map
<
IdentifierSpec
,
String
?
>
)
:
SectionElement
Properties
api
Path
Link copied to clipboard
open
override
val
apiPath
:
IdentifierSpec
label
Translation
Id
Link copied to clipboard
val
labelTranslationId
:
TranslationId