Package org.apache.ofbiz.accounting.tax
Class TaxAuthorityServices
- java.lang.Object
-
- org.apache.ofbiz.accounting.tax.TaxAuthorityServices
-
public class TaxAuthorityServices extends java.lang.Object
Tax Authority tax calculation and other misc services
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
static java.math.BigDecimal
ONE_BASE
static java.math.BigDecimal
PERCENT_SCALE
static java.lang.String
resource
static int
salestaxCalcDecimals
static int
salestaxFinalDecimals
static java.math.RoundingMode
salestaxRounding
static java.math.BigDecimal
ZERO_BASE
-
Constructor Summary
Constructors Constructor Description TaxAuthorityServices()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
rateProductTaxCalc(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
static java.util.Map<java.lang.String,java.lang.Object>
rateProductTaxCalcForDisplay(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
ZERO_BASE
public static final java.math.BigDecimal ZERO_BASE
-
ONE_BASE
public static final java.math.BigDecimal ONE_BASE
-
PERCENT_SCALE
public static final java.math.BigDecimal PERCENT_SCALE
-
salestaxFinalDecimals
public static final int salestaxFinalDecimals
-
salestaxCalcDecimals
public static final int salestaxCalcDecimals
-
salestaxRounding
public static final java.math.RoundingMode salestaxRounding
-
resource
public static final java.lang.String resource
- See Also:
- Constant Field Values
-
-
Method Detail
-
rateProductTaxCalcForDisplay
public static java.util.Map<java.lang.String,java.lang.Object> rateProductTaxCalcForDisplay(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
rateProductTaxCalc
public static java.util.Map<java.lang.String,java.lang.Object> rateProductTaxCalc(DispatchContext dctx, java.util.Map<java.lang.String,? extends java.lang.Object> context)
-
-