public interface TaxDetail extends Serializable
| Modifier and Type | Method and Description |
|---|---|
Money |
getAmount()
Gets the tax amount
|
String |
getCountry()
Returns the country, as a string, used for tax calculation.
|
BroadleafCurrency |
getCurrency() |
Long |
getId()
Gets the id.
|
String |
getJurisdictionName()
Returns the name of the tax jurisdiction.
|
ModuleConfiguration |
getModuleConfiguration()
Returns the configuration of the module that was used to calculate taxes.
|
BigDecimal |
getRate()
Gets the tax rate
|
String |
getRegion()
Returns the name of the region used for tax calculation.
|
String |
getTaxName()
Gets the name of the tax.
|
TaxType |
getType()
Gets the tax type
|
void |
setAmount(Money amount)
Sets the tax amount
|
void |
setCountry(String country)
Sets the country used for tax calculation.
|
void |
setCurrency(BroadleafCurrency currency) |
void |
setId(Long id)
Sets the id.
|
void |
setJurisdictionName(String jurisdiction)
Optionally sets the name of the tax jurisdiction.
|
void |
setModuleConfiguration(ModuleConfiguration config)
Sets the module configuration that was used to calculate taxes.
|
void |
setRate(BigDecimal rate)
Sets the tax rate.
|
void |
setRegion(String region)
Sets the region, as a string.
|
void |
setTaxName(String taxName)
Sets the name of the tax, if applicable.
|
void |
setType(TaxType type)
Sets the tax type
|
Long getId()
void setId(Long id)
id - the new idTaxType getType()
void setType(TaxType type)
type - the tax typeMoney getAmount()
void setAmount(Money amount)
amount - the tax amountBigDecimal getRate()
void setRate(BigDecimal rate)
name - the tax rateBroadleafCurrency getCurrency()
void setCurrency(BroadleafCurrency currency)
ModuleConfiguration getModuleConfiguration()
void setModuleConfiguration(ModuleConfiguration config)
config - void setJurisdictionName(String jurisdiction)
jurisdiction - String getJurisdictionName()
void setTaxName(String taxName)
taxName - String getTaxName()
void setRegion(String region)
region - String getRegion()
void setCountry(String country)
country - String getCountry()
Copyright © 2015. All Rights Reserved.