TransformSpecToElements

fun TransformSpecToElements(    resourceRepository: ResourceRepository,     initialValues: Map<IdentifierSpec, String?>,     amount: Amount?,     saveForFutureUseInitialValue: Boolean,     merchantName: String,     context: Context,     viewOnlyFields: Set<IdentifierSpec> = emptySet())

Parameters

viewOnlyFields

A set of identifiers for the fields that should be view-only, non-editable. Currently only IdentifierSpec.CardNumber is supported and any other identifier is ignored.