Package-level declarations

Types

Link copied to clipboard
data class ActionButtonStyle(val fontSize: Float? = null, val fontColor: Color? = null, val height: Float? = null, val lineHeight: Float? = null, val fontWeight: FontWeight? = null, val letterSpacing: Float? = null, val elevation: Float? = null, val borderRadius: Float? = null, val backgroundColor: Color? = null, val textTransform: TextTransform? = null)

The styling for action buttons found in Catch widgets.

Link copied to clipboard
data class ActionWidgetStyle(val widgetTextStyle: WidgetTextStyle? = null, val benefitTextStyle: BenefitTextStyle? = null, val actionButtonStyle: ActionButtonStyle? = null)

Styling for Catch widgets which contain an action button.

Link copied to clipboard
data class BenefitTextStyle(val fontWeight: FontWeight? = null, val earnFontColor: Color? = null, val redeemFontColor: Color? = null)

Styling for the benefit text within Catch widgets. The benefit text displays the earned or redeemable credits to the user.

Link copied to clipboard
data class CatchStyleConfig(val widgetTextStyle: WidgetTextStyle? = null, val benefitTextStyle: BenefitTextStyle? = null, val actionButtonStyle: ActionButtonStyle? = null, val calloutStyle: InfoWidgetStyle? = null, val expressCheckoutCalloutStyle: InfoWidgetStyle? = null, val paymentMethodStyle: InfoWidgetStyle? = null, val purchaseConfirmationStyle: ActionWidgetStyle? = null, val campaignLinkStyle: ActionWidgetStyle? = null)

The global styles that can be used to customize Catch widgets.

Link copied to clipboard
data class InfoWidgetStyle(val widgetTextStyle: WidgetTextStyle? = null, val benefitTextStyle: BenefitTextStyle? = null)

Styling for Catch widgets which contain benefit text, filler text, and an info button.

Link copied to clipboard
data class WidgetTextStyle(val fontSize: Float? = null, val fontColor: Color? = null, val fontWeight: FontWeight? = null, val lineHeight: Float? = null, val letterSpacing: Float? = null, val textTransform: TextTransform? = null)

Styling for the text components within the Catch widgets.