stripe-android
payments-ui-core
/
com.stripe.android.ui.core.injection
/
FormControllerModule
/
Companion
Companion
object
Companion
Content copied to clipboard
Functions
Functions
provide
Transform
Spec
To
Elements
Link copied to clipboard
@
Provides
fun
provideTransformSpecToElements
(
addressResourceRepository
:
ResourceRepository
<
AddressRepository
>
,
context
:
Context
,
merchantName
:
String
,
stripeIntent
:
StripeIntent
?
,
@
Named
(
value
=
"initialValues"
)
initialValues
:
Map
<
IdentifierSpec
,
String
?
>
,
@
Named
(
value
=
"shippingValues"
)
shippingValues
:
Map
<
IdentifierSpec
,
String
?
>
?
,
viewOnlyFields
:
Set
<
IdentifierSpec
>
)
:
TransformSpecToElements
Content copied to clipboard