public class AmountAttribute extends Attribute
Attribute.Type| Constructor and Description |
|---|
AmountAttribute()
Default constructor.
|
AmountAttribute(String id,
String label,
BigDecimal amount,
String currency)
Constructor with all details.
|
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getAmount()
Get amount.
|
String |
getCurrency()
Get currency.
|
void |
setAmount(BigDecimal amount)
Set amount.
|
void |
setCurrency(String currency)
Set currency.
|
public AmountAttribute()
public AmountAttribute(String id, String label, BigDecimal amount, String currency)
id - Attribute ID.label - Attribute label.amount - Amount.currency - Currency.public BigDecimal getAmount()
public void setAmount(BigDecimal amount)
amount - Amount.public String getCurrency()
public void setCurrency(String currency)
currency - Currency.Copyright © 2016–2018 Lime - HighTech Solutions Inc.. All rights reserved.