Package bakery.logic.usermailobject
Class MailTaxDetailLO
- java.lang.Object
-
- bakery.logic.usermailobject.MailTaxDetailLO
-
- All Implemented Interfaces:
Tax
,java.io.Serializable
public class MailTaxDetailLO extends java.lang.Object implements Tax, java.io.Serializable
Tax detail data, container used to store each tax contained in the positions and charges- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MailTaxDetailLO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLocation()
The location where the tax is used at, e.g.java.math.BigDecimal
getRecalculatedTaxValue()
java.math.BigDecimal
getTaxAmount()
The amount of the taxjava.math.BigDecimal
getTaxPercent()
The tax rate in percent.java.lang.String
getTaxTypeName()
The name of TaxTypeDefDOvoid
setLocation(java.lang.String location)
The location where the tax is used at, e.g.void
setRecalculatedTaxValue(java.math.BigDecimal recalculatedTaxValue)
only for order positions.void
setTaxAmount(java.math.BigDecimal taxAmount)
The amount of the taxvoid
setTaxPercent(java.math.BigDecimal taxPercent)
The tax rate in percent.void
setTaxTypeName(java.lang.String taxTypeName)
The name of TaxTypeDefDO
-
-
-
Method Detail
-
getRecalculatedTaxValue
public java.math.BigDecimal getRecalculatedTaxValue()
-
getTaxAmount
public java.math.BigDecimal getTaxAmount()
Description copied from interface:Tax
The amount of the tax- Specified by:
getTaxAmount
in interfaceTax
-
getTaxPercent
public java.math.BigDecimal getTaxPercent()
Description copied from interface:Tax
The tax rate in percent. e.g. 19.5 for "19.5 %"- Specified by:
getTaxPercent
in interfaceTax
-
getTaxTypeName
public java.lang.String getTaxTypeName()
Description copied from interface:Tax
The name of TaxTypeDefDO- Specified by:
getTaxTypeName
in interfaceTax
-
getLocation
public java.lang.String getLocation()
Description copied from interface:Tax
The location where the tax is used at, e.g. DEU- Specified by:
getLocation
in interfaceTax
-
setTaxTypeName
public void setTaxTypeName(java.lang.String taxTypeName)
Description copied from interface:Tax
The name of TaxTypeDefDO- Specified by:
setTaxTypeName
in interfaceTax
-
setTaxPercent
public void setTaxPercent(java.math.BigDecimal taxPercent)
Description copied from interface:Tax
The tax rate in percent. e.g. 19.5 for "19.5 %"- Specified by:
setTaxPercent
in interfaceTax
-
setLocation
public void setLocation(java.lang.String location)
Description copied from interface:Tax
The location where the tax is used at, e.g. DEU- Specified by:
setLocation
in interfaceTax
-
setTaxAmount
public void setTaxAmount(java.math.BigDecimal taxAmount)
Description copied from interface:Tax
The amount of the tax- Specified by:
setTaxAmount
in interfaceTax
-
setRecalculatedTaxValue
public void setRecalculatedTaxValue(java.math.BigDecimal recalculatedTaxValue)
only for order positions. null for charges.
-
-