CatchStyleConfig

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.

Any styling defined at the widget-level (ex. calloutStyle) will override styling defined globally (ex. widgetTextStyle). Additionally, any themes or overrides set on an individual widget will override the global configurations set here. All styling parameters are optional and only non-null values will override those at a higher level.

Constructors

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

Properties

Link copied to clipboard

Configures the styling for action buttons across all widgets.

Link copied to clipboard

Configures the styling for benefit text components across all widgets.

Link copied to clipboard

Configures the styling for all Callout widgets.

Link copied to clipboard

Configures the styling for all CampaignLink widgets.

Link copied to clipboard

Configures the styling for all ExpressCheckoutCallout widgets.

Link copied to clipboard

Configures the styling for all PaymentMethod widgets.

Link copied to clipboard

Configures the styling for all PurchaseConfirmation widgets.

Link copied to clipboard

Configures the styling for text components across all widgets.