| Modifier and Type | Method and Description |
|---|---|
static Button |
ButtonFactory.createBuyButton(ButtonType type,
String payload,
PaymentSummary paymentSummary)
Creates a new Button object.
|
| Modifier and Type | Field and Description |
|---|---|
protected ButtonType |
Button.type
The button type.
|
| Modifier and Type | Method and Description |
|---|---|
ButtonType |
Button.getType()
Gets the type.
|
static ButtonType |
ButtonType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonType[] |
ButtonType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Button.setType(ButtonType type)
Sets the type.
|
| Constructor and Description |
|---|
BuyButton(ButtonType type,
String payload,
PaymentSummary paymentSummary)
Instantiates a new buy button.
|
LoginButton(ButtonType type,
String url)
Instantiates a new login button.
|
LogoutButton(ButtonType type)
Instantiates a new logout button.
|
PostbackButton(String title,
ButtonType type,
String payload)
Instantiates a new postback button.
|
ShareButton(ButtonType type)
Instantiates a new share button.
|
| Modifier and Type | Method and Description |
|---|---|
ButtonType |
DefaultAction.getType()
Gets the type.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultAction |
DefaultAction.setType(ButtonType type)
Sets the type.
|
| Constructor and Description |
|---|
DefaultAction(ButtonType type,
String url)
Instantiates a new default action.
|
DefaultAction(ButtonType type,
String url,
String messengerExtensions,
String webviewHeightRatio,
String fallbackUrl)
Instantiates a new default action.
|
Copyright © 2016 BotMill. All rights reserved.