|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.broadleafcommerce.core.order.domain.TaxDetailImpl
@Entity public class TaxDetailImpl
| Field Summary | |
|---|---|
protected BigDecimal |
amount
|
protected BroadleafCurrency |
currency
|
protected Long |
id
|
protected BigDecimal |
rate
|
protected String |
type
|
| Constructor Summary | |
|---|---|
TaxDetailImpl()
|
|
TaxDetailImpl(TaxType type,
Money amount,
BigDecimal rate)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected String type
protected BigDecimal amount
protected BigDecimal rate
protected BroadleafCurrency currency
| Constructor Detail |
|---|
public TaxDetailImpl()
public TaxDetailImpl(TaxType type,
Money amount,
BigDecimal rate)
| Method Detail |
|---|
public Long getId()
TaxDetail
getId in interface TaxDetailpublic void setId(Long id)
TaxDetail
setId in interface TaxDetailid - the new idpublic TaxType getType()
TaxDetail
getType in interface TaxDetailpublic void setType(TaxType type)
TaxDetail
setType in interface TaxDetailtype - the tax typepublic Money getAmount()
TaxDetail
getAmount in interface TaxDetailpublic void setAmount(Money amount)
TaxDetail
setAmount in interface TaxDetailamount - the tax amountpublic BigDecimal getRate()
TaxDetail
getRate in interface TaxDetailpublic void setRate(BigDecimal rate)
TaxDetail
setRate in interface TaxDetailpublic BroadleafCurrency getCurrency()
getCurrency in interface TaxDetailpublic void setCurrency(BroadleafCurrency currency)
setCurrency in interface TaxDetail
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||