Package-level declarations

Types

Link copied to clipboard
data class Amount(val value: Long, val currencyCode: String) : Parcelable

This class represents the long value amount to charge and the currency code of the amount.

Link copied to clipboard

This class converts the fields in a form into a structure as defined by a map.

Link copied to clipboard
class FormController @Inject constructor(formSpec: LayoutSpec, transformSpecToElement: TransformSpecToElements)

Controller that manages the user interaction with the payment method data collection form. When all fields are reported as complete, completeFormValues emits the valid payment method.

Functions

Link copied to clipboard
fun FormUI(hiddenIdentifiers: Set<IdentifierSpec>, enabled: Boolean, elements: List<FormElement>, lastTextFieldIdentifier: IdentifierSpec?, modifier: Modifier = Modifier)
fun FormUI(hiddenIdentifiersFlow: Flow<Set<IdentifierSpec>>, enabledFlow: Flow<Boolean>, elementsFlow: Flow<List<FormElement>>, lastTextFieldIdentifierFlow: Flow<IdentifierSpec?>, modifier: Modifier = Modifier)