Package com.stripe.android.ui.core.elements
Types
This is the controller for a section with a changing number and set of fields. This is in contrast to the SectionController which is a section in which the fields in it do not change.
A text field configuration for an AU bank account number
This is an element that has static text because it takes no user input, it is not outputted from the list of form field values. If the stringResId contains a %s, the first one will be populated in the form with the merchantName parameter.
A text field configuration for a BSB number, or Bank State Branch Number, a six-digit number used to identify the individual branch of an Australian financial institution
This is a special type of AddressElement that removes fields from the address based on the country. It is only intended to be used with the card payment method.
Section containing card details form
This is a generic controller
This is the configuration for a country dropdown.
This is the specification for a country field.
This class controls the dropdown view and implements the InputController interface. Because it can never be in error the errorMessage
is always null. It is also designed to always have a value selected, so isComplete is always true.
Encapsulates an error message including the string resource and the variable arguments
This is used to define each section in the visual form layout. Each item in the layout has an identifier and a controller associated with it.
This is used to define each section in the visual form layout specification
A text field configuration for an IBAN, or International Bank Account Number, as defined in ISO 13616-1.
This uniquely identifies a element in the form. The vals here are for identifier specs that need to be found when pre-populating fields, or when extracting data.
This class provides the logic behind the fields.
This is the specification for a klarna country field
This is a data representation of the layout of UI fields on the screen.
Mandate text element spec.
This is an element that will make elements (as specified by identifier) hidden when "save for future" use is unchecked
This is an element that will make elements (as specified by identifier) hidden when save for future use is unchecked
This is the controller for a section with a static number of fields.
Any element in a section must have a controller that provides an error and have a type. This is used for a single field in a section or a section field that has other fields in it.
This is an element that is in a section and accepts user input.
This class will provide the onValueChanged and onFocusChanged functionality to the field's composable. These functions will update the observables as needed. It is responsible for exposing immutable observers for its data
This is an element that has static text because it takes no user input, it is not outputted from the list of form field values. If the stringResId contains a %s, the first one will be populated in the form with the merchantName parameter.
This represents the different states a field can be in, in each of these cases there might be a reason to show the error in a different way. This interface separates how the state is implemented from what information is required by clients of the interface. This will allow the implementation to change without impacting the clients.
Functions
This will display html annotated text in a string. Images cannot be embedded in link tags. The following tags are supported: , , , , The source value in the img tab, must map to something in the imageGetter.
This is the layout for the section card.
This is focused on converting an TextFieldController into what is displayed in a textField.
This is focused on converting an TextFieldController into what is displayed in a section with a single textField.