@Entity public class TaxDetailImpl extends Object implements TaxDetail
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount |
protected BroadleafCurrency |
currency |
protected Long |
id |
protected BigDecimal |
rate |
protected String |
type |
| Constructor and Description |
|---|
TaxDetailImpl() |
TaxDetailImpl(TaxType type,
Money amount,
BigDecimal rate) |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Gets the tax amount
|
BroadleafCurrency |
getCurrency() |
Long |
getId()
Gets the id.
|
BigDecimal |
getRate()
Gets the tax rate
|
TaxType |
getType()
Gets the tax type
|
void |
setAmount(Money amount)
Sets the tax amount
|
void |
setCurrency(BroadleafCurrency currency) |
void |
setId(Long id)
Sets the id.
|
void |
setRate(BigDecimal rate)
Sets the tax rate.
|
void |
setType(TaxType type)
Sets the tax type
|
protected Long id
protected String type
protected BigDecimal amount
protected BigDecimal rate
protected BroadleafCurrency currency
public TaxDetailImpl()
public TaxDetailImpl(TaxType type, Money amount, BigDecimal rate)
public void setType(TaxType type)
TaxDetailpublic void setAmount(Money amount)
TaxDetailpublic BigDecimal getRate()
TaxDetailpublic void setRate(BigDecimal rate)
TaxDetailpublic BroadleafCurrency getCurrency()
getCurrency in interface TaxDetailpublic void setCurrency(BroadleafCurrency currency)
setCurrency in interface TaxDetailCopyright © 2014. All Rights Reserved.