Package bakery.logic.usermailobject
Class ShopUserMailTaxLO
- java.lang.Object
-
- bakery.logic.usermailobject.ShopUserMailTaxLO
-
- All Implemented Interfaces:
Tax,java.io.Serializable
public class ShopUserMailTaxLO extends java.lang.Object implements Tax, java.io.Serializable
Covers information about taxes used within customer mails. Aggregation (sum)per TaxDO, over all tax items- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShopUserMailTaxLO()
-
Method Summary
All Methods Instance Methods Concrete 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
-
getTaxPercent
public java.math.BigDecimal getTaxPercent()
- Specified by:
getTaxPercentin interfaceTax- Returns:
- The tax rate in percent. e.g. 19.5 for "19.5 %"
-
getTaxAmount
public java.math.BigDecimal getTaxAmount()
- Specified by:
getTaxAmountin interfaceTax- Returns:
- The amount of the tax
-
getLocation
public java.lang.String getLocation()
Description copied from interface:TaxThe location where the tax is used at, e.g. DEU- Specified by:
getLocationin interfaceTax- Returns:
- location
-
getTaxTypeName
public java.lang.String getTaxTypeName()
Description copied from interface:TaxThe name of TaxTypeDefDO- Specified by:
getTaxTypeNamein interfaceTax- Returns:
- taxTypeName
-
setTaxPercent
public void setTaxPercent(java.math.BigDecimal taxPercent)
Description copied from interface:TaxThe tax rate in percent. e.g. 19.5 for "19.5 %"- Specified by:
setTaxPercentin interfaceTax
-
setTaxAmount
public void setTaxAmount(java.math.BigDecimal taxAmount)
Description copied from interface:TaxThe amount of the tax- Specified by:
setTaxAmountin interfaceTax
-
setLocation
public void setLocation(java.lang.String location)
Description copied from interface:TaxThe location where the tax is used at, e.g. DEU- Specified by:
setLocationin interfaceTax
-
setTaxTypeName
public void setTaxTypeName(java.lang.String taxTypeName)
Description copied from interface:TaxThe name of TaxTypeDefDO- Specified by:
setTaxTypeNamein interfaceTax
-
-