com.retek.component.tax.impl
Class MockTaxCalculator

java.lang.Object
  extended bycom.retek.component.tax.impl.MockTax
      extended bycom.retek.component.tax.impl.MockTaxCalculator

public final class MockTaxCalculator
extends MockTax


Field Summary
static Percent DEFAULT_TAX_RATE_PERCENT
           
static Percent REGULAR_MN_TAX_RATE_PERCENT
           
 
Method Summary
static void addTaxExemptCustomer(DistributedReference customerRef, java.lang.String state, RDate effectiveDate)
           
protected  void calculate(TaxCalculatorImpl calculator)
           
static MockTaxCalculator getInstance()
           
static boolean isTaxServiceAvailable()
           
static void resetModifiedTaxRate()
           
static void resetTaxExemptCustomers()
           
static void setModifiedTaxRate(java.math.BigDecimal taxRate)
           
static void setTaxServiceAvailable(boolean taxSrvcAvailable)
           
 
Methods inherited from class com.retek.component.tax.impl.MockTax
isRetekTaxDebug, isRetekTaxSimulate, setRetekTaxDebug, setRetekTaxSimulate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TAX_RATE_PERCENT

public static final Percent DEFAULT_TAX_RATE_PERCENT

REGULAR_MN_TAX_RATE_PERCENT

public static final Percent REGULAR_MN_TAX_RATE_PERCENT
Method Detail

getInstance

public static MockTaxCalculator getInstance()

setTaxServiceAvailable

public static void setTaxServiceAvailable(boolean taxSrvcAvailable)

isTaxServiceAvailable

public static boolean isTaxServiceAvailable()

addTaxExemptCustomer

public static void addTaxExemptCustomer(DistributedReference customerRef,
                                        java.lang.String state,
                                        RDate effectiveDate)
                                 throws SystemException
Throws:
SystemException

setModifiedTaxRate

public static void setModifiedTaxRate(java.math.BigDecimal taxRate)

resetTaxExemptCustomers

public static void resetTaxExemptCustomers()

resetModifiedTaxRate

public static void resetModifiedTaxRate()

calculate

protected void calculate(TaxCalculatorImpl calculator)
                  throws SystemException,
                         BusinessException
Throws:
SystemException
BusinessException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28