|
||||||||||
| 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 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 |
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 |
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
| 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 TaxDetail
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||