CampaignLink

fun CampaignLink(campaignName: String, borderStyle: BorderStyle = BorderStyle.SlightRound, colorTheme: CatchColorTheme? = null, styleOverrides: ActionWidgetStyle? = null)

The CampaignLink widget is designed to be displayed on your order confirmation page if Catch was not used as a payment method to offer credits to the consumer if they pay with Catch for their next purchase.

The widget displays information about the amount of credits the consumer can claim based on the reward campaign’s name. The widget also acts as a hyperlink, directing consumers to a page where they can claim the credits.

Parameters

campaignName

The name of a valid and active Catch campaign.

borderStyle

The BorderStyle that the widget renders. Defaults to the BorderStyle.SlightRound style.

colorTheme

The Catch color CatchColorTheme. If no theme is set, the theme set globally on the Catch object will be used, which defaults to CatchColorTheme.Light.

styleOverrides

Style overrides which can be used to override the widget's default appearance (ex. font size, color, weight, etc.).