Package bakery.logic.usermailobject
Interface Tax
-
- All Known Implementing Classes:
MailTaxDetailLO,ShopUserMailTaxLO
public interface TaxTax data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetLocation()The location where the tax is used at, e.g.java.math.BigDecimalgetTaxAmount()java.math.BigDecimalgetTaxPercent()java.lang.StringgetTaxTypeName()The name of TaxTypeDefDOvoidsetLocation(java.lang.String location)The location where the tax is used at, e.g.voidsetTaxAmount(java.math.BigDecimal taxAmount)The amount of the taxvoidsetTaxPercent(java.math.BigDecimal taxPercent)The tax rate in percent.voidsetTaxTypeName(java.lang.String taxTypeName)The name of TaxTypeDefDO
-
-
-
Method Detail
-
getTaxTypeName
java.lang.String getTaxTypeName()
The name of TaxTypeDefDO- Returns:
- taxTypeName
-
setTaxTypeName
void setTaxTypeName(java.lang.String taxTypeName)
The name of TaxTypeDefDO- Parameters:
taxTypeName-
-
getTaxPercent
java.math.BigDecimal getTaxPercent()
- Returns:
- The tax rate in percent. e.g. 19.5 for "19.5 %"
-
setTaxPercent
void setTaxPercent(java.math.BigDecimal taxPercent)
The tax rate in percent. e.g. 19.5 for "19.5 %"- Parameters:
taxPercent-
-
getLocation
java.lang.String getLocation()
The location where the tax is used at, e.g. DEU- Returns:
- location
-
setLocation
void setLocation(java.lang.String location)
The location where the tax is used at, e.g. DEU- Parameters:
location-
-
getTaxAmount
java.math.BigDecimal getTaxAmount()
- Returns:
- The amount of the tax
-
setTaxAmount
void setTaxAmount(java.math.BigDecimal taxAmount)
The amount of the tax- Parameters:
taxAmount-
-
-