public class PriceInfo extends Object implements Serializable
| Constructor and Description |
|---|
PriceInfo(String title,
BigDecimal amount)
Instantiates a new price info.
|
PriceInfo(String title,
BigDecimal amount,
String currency)
Instantiates a new price info.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
BigDecimal |
getAmount()
Gets the amount.
|
String |
getCurrency()
Gets the currency.
|
String |
getTitle()
Gets the title.
|
int |
hashCode() |
void |
setAmount(BigDecimal amount)
Sets the amount.
|
void |
setCurrency(String currency)
Sets the currency.
|
void |
setTitle(String title)
Sets the title.
|
String |
toString() |
public PriceInfo(String title, BigDecimal amount)
title - the titleamount - the amountpublic PriceInfo(String title, BigDecimal amount, String currency)
title - the titleamount - the amountcurrency - the currencypublic String getTitle()
public void setTitle(String title)
title - the new titlepublic BigDecimal getAmount()
public void setAmount(BigDecimal amount)
amount - the new amountpublic String getCurrency()
public void setCurrency(String currency)
currency - the new currencyCopyright © 2017 BotMill. All rights reserved.