Package-level declarations

Types

Link copied to clipboard

Provide default theme with prefilled components

Link copied to clipboard
data class PaymentFormComponent @JvmOverloads constructor(val paymentFormComponentField: PaymentFormComponentField, val isFieldOptional: Boolean = false, val isFieldHidden: Boolean = false, val titleText: String? = null, val titleTextId: Int? = null, val subTitleText: String? = null, val subTitleTextId: Int? = null, val infoText: String? = null, val infoTextId: Int? = null, val placeholderResourceText: String? = null, val placeholderResourceTextId: Int? = null, val backIconImageResourceID: Int? = null, val leadingIconImageResourceID: Int? = null, val trailingIconImageResourceID: Int? = null)
Link copied to clipboard

Enum representing PaymentFormComponentField.

Link copied to clipboard
data class PaymentFormCornerRadius @JvmOverloads constructor(val inputFieldCornerRadius: CornerRadius = CornerRadius(ContainerConstants.radius), val addressSummaryCornerRadius: CornerRadius = CornerRadius(BorderConstants.radius), val buttonCornerRadius: CornerRadius = CornerRadius(), val screenBackgroundCornerRadius: CornerRadius = CornerRadius(ContainerConstants.radius))
Link copied to clipboard
data class PaymentFormFont @JvmOverloads constructor(val font: Font = Font.Default, val fontStyle: FontStyle = FontStyle.Normal, val fontWeight: FontWeight = FontWeight.Normal)
Link copied to clipboard
data class PaymentFormShape @JvmOverloads constructor(val inputFieldShape: Shape = Shape.Rectangle, val addressSummaryShape: Shape = Shape.RoundCorner, val buttonShape: Shape = Shape.Rectangle, val screenBackgroundShape: Shape = Shape.None)
Link copied to clipboard
data class PaymentFormTheme @JvmOverloads constructor(val paymentFormThemeColors: PaymentFormThemeColors, val paymentFormComponents: List<PaymentFormComponent> = DefaultPaymentFormTheme.provideComponents(), val paymentFormShape: PaymentFormShape = PaymentFormShape(), val paymentFormCornerRadius: PaymentFormCornerRadius = PaymentFormCornerRadius(), val paymentFormFont: PaymentFormFont = PaymentFormFont())
Link copied to clipboard
data class PaymentFormThemeColors(val paymentFormColors: PaymentFormColors, val buttonColors: PaymentFormButtonColors, val cursorColors: CursorColors, val dividerColor: DividerColor, val imageColors: ImageColors, val textColors: TextColors, val inputFieldColors: InputFieldColors)