public class BuyButton extends Button
| Modifier and Type | Field and Description |
|---|---|
protected String |
title
The button title.
|
| Constructor and Description |
|---|
BuyButton(String payload)
Instantiates a new buy button.
|
BuyButton(String payload,
PaymentSummary paymentSummary)
Instantiates a new buy button.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPayload()
Gets the payload.
|
PaymentSummary |
getPaymentSummary()
Gets the payment summary.
|
String |
getTitle()
Gets the title.
|
int |
hashCode() |
void |
setPayload(String payload)
Sets the payload.
|
void |
setPaymentSummary(PaymentSummary paymentSummary)
Sets the payment summary.
|
void |
setTitle(String title)
Sets the title.
|
String |
toString() |
@Size(max=20) @NotBlank protected String title
public BuyButton(String payload)
payload - the payloadpublic BuyButton(String payload, PaymentSummary paymentSummary)
payload - the payloadpaymentSummary - the payment summarypublic String getPayload()
public void setPayload(String payload)
payload - the new payloadpublic PaymentSummary getPaymentSummary()
public void setPaymentSummary(PaymentSummary paymentSummary)
paymentSummary - the new payment summarypublic String getTitle()
public void setTitle(String title)
title - the new titleCopyright © 2017 BotMill. All rights reserved.