public class

CallToAction

extends Object
java.lang.Object
   ↳ com.usebutton.sdk.purchasepath.CallToAction

Class Overview

Call to action for a Checkout Card. The call to action is displayed in the footer when a card is in the active state.

Summary

Public Constructors
CallToAction(int icon, String text, int textColor)
Creates a new checkout card call to action.
Public Methods
int getIcon()
String getText()
int getTextColor()
void setIcon(int icon)
void setText(String text)
void setTextColor(int textColor)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CallToAction (int icon, String text, int textColor)

Creates a new checkout card call to action.

Parameters
icon display icon drawable resource id.
text display text string.
textColor display text color hex value.

Public Methods

public int getIcon ()

public String getText ()

public int getTextColor ()

public void setIcon (int icon)

public void setText (String text)

public void setTextColor (int textColor)