CampaignLinkView

class CampaignLinkView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : AbstractComposeView

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.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)

Functions

Link copied to clipboard
open override fun Content()

Properties

Link copied to clipboard

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

Link copied to clipboard

The name of a valid and active Catch campaign.

Link copied to clipboard

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

Link copied to clipboard

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