Package com.stripe.android.ui.core

Types

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

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

Link copied to clipboard
class CurrencyFormatter
Link copied to clipboard
data class PaymentsColors(primary: Color, surface: Color, componentBackground: Color, componentBorder: Color, componentDivider: Color, onPrimary: Color, textSecondary: Color, textCursor: Color, placeholderText: Color, onBackground: Color, appBarIcon: Color, error: Color)
Link copied to clipboard
data class PaymentsComposeColors(colorComponentBackground: Color, colorComponentBorder: Color, colorComponentDivider: Color, colorTextSecondary: Color, colorTextCursor: Color, placeholderText: Color, material: Colors)
Link copied to clipboard
data class PaymentsComposeShapes(borderStrokeWidth: Dp, borderStrokeWidthSelected: Dp, material: Shapes)
Link copied to clipboard
object PaymentsTheme
Link copied to clipboard
object PaymentsThemeConfig

Functions

Link copied to clipboard
fun Context.convertDpToPx(dp: Dp): Float
Link copied to clipboard
fun Context.isSystemDarkTheme(): Boolean
Link copied to clipboard
fun PaymentsTheme(content: @Composable () -> Unit)
Link copied to clipboard
@Composable
@ReadOnlyComposable
fun PaymentsThemeConfig.toComposeColors(): PaymentsComposeColors
Link copied to clipboard
@Composable
@ReadOnlyComposable
fun PaymentsThemeConfig.Shapes.toComposeShapes(): PaymentsComposeShapes