com.retek.component.tax.test
Class TaxObjectMaster

java.lang.Object
  extended bycom.retek.component.tax.test.TaxObjectMaster

public class TaxObjectMaster
extends java.lang.Object


Field Summary
static Percent ONE_HUNDRED_POINT_ONE_PERCENT
           
static Percent SEVEN_POINT_FOUR_PERCENT
           
static Percent SEVEN_POINT_TWO_PERCENT
           
static Percent SIX_POINT_FIVE_PERCENT
           
static java.lang.String STANDARD_TAX_RATE_PRODUCT_CODE_IN_ALL_STATES
           
static java.lang.String TAX_EXEMPT_PRODUCT_CODE_IN_MN
           
static java.lang.String TAX_OVERRRIDE_PRODUCT_CODE_IN_MN
           
static Percent ZERO
           
 
Constructor Summary
TaxObjectMaster()
           
 
Method Summary
static Address createMinnesotaAddress()
           
static TaxCalculatorInvoice createTaxCalculatorInvoice(DistributedContext context, TaxCompany taxCompany, RDate invoiceDate, Address shipFrom, Address shipTo, Address orderAcceptance)
           
static TaxInvoiceLineItem createValidLineItem(DistributedContext context, long lineItemId, Money extendedAmount, java.lang.String productCode, java.lang.String skuId)
           
static TaxCalculatorInvoice createValidTaxCalculatorInvoice(DistributedContext context)
           
static TaxCompany createValidTaxCompany()
           
static TaxCompany createValidTaxCompany2()
           
static TaxCompany createValidTaxCompanyForMN()
           
static TaxCustomer createValidTaxCustomer()
           
static TaxCustomer createValidTaxExemptCustomerInAllStates()
           
static TaxCustomer createValidTaxExemptCustomerInMinnesota()
           
static Address createValidVasTaxAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAX_EXEMPT_PRODUCT_CODE_IN_MN

public static final java.lang.String TAX_EXEMPT_PRODUCT_CODE_IN_MN
See Also:
Constant Field Values

TAX_OVERRRIDE_PRODUCT_CODE_IN_MN

public static final java.lang.String TAX_OVERRRIDE_PRODUCT_CODE_IN_MN
See Also:
Constant Field Values

STANDARD_TAX_RATE_PRODUCT_CODE_IN_ALL_STATES

public static final java.lang.String STANDARD_TAX_RATE_PRODUCT_CODE_IN_ALL_STATES
See Also:
Constant Field Values

SEVEN_POINT_TWO_PERCENT

public static final Percent SEVEN_POINT_TWO_PERCENT

SIX_POINT_FIVE_PERCENT

public static final Percent SIX_POINT_FIVE_PERCENT

SEVEN_POINT_FOUR_PERCENT

public static final Percent SEVEN_POINT_FOUR_PERCENT

ONE_HUNDRED_POINT_ONE_PERCENT

public static final Percent ONE_HUNDRED_POINT_ONE_PERCENT

ZERO

public static final Percent ZERO
Constructor Detail

TaxObjectMaster

public TaxObjectMaster()
Method Detail

createValidTaxCompany

public static TaxCompany createValidTaxCompany()
                                        throws SystemException
Throws:
SystemException

createValidTaxCompanyForMN

public static TaxCompany createValidTaxCompanyForMN()
                                             throws SystemException
Throws:
SystemException

createValidTaxCompany2

public static TaxCompany createValidTaxCompany2()
                                         throws SystemException
Throws:
SystemException

createValidVasTaxAddress

public static Address createValidVasTaxAddress()

createValidTaxCustomer

public static TaxCustomer createValidTaxCustomer()
                                          throws java.lang.Exception
Throws:
java.lang.Exception

createValidTaxExemptCustomerInAllStates

public static TaxCustomer createValidTaxExemptCustomerInAllStates()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createValidTaxExemptCustomerInMinnesota

public static TaxCustomer createValidTaxExemptCustomerInMinnesota()
                                                           throws java.lang.Exception
Throws:
java.lang.Exception

createTaxCalculatorInvoice

public static TaxCalculatorInvoice createTaxCalculatorInvoice(DistributedContext context,
                                                              TaxCompany taxCompany,
                                                              RDate invoiceDate,
                                                              Address shipFrom,
                                                              Address shipTo,
                                                              Address orderAcceptance)
                                                       throws java.lang.Exception
Throws:
java.lang.Exception

createValidTaxCalculatorInvoice

public static TaxCalculatorInvoice createValidTaxCalculatorInvoice(DistributedContext context)
                                                            throws java.lang.Exception
Throws:
java.lang.Exception

createValidLineItem

public static TaxInvoiceLineItem createValidLineItem(DistributedContext context,
                                                     long lineItemId,
                                                     Money extendedAmount,
                                                     java.lang.String productCode,
                                                     java.lang.String skuId)
                                              throws java.lang.Exception
Throws:
java.lang.Exception

createMinnesotaAddress

public static Address createMinnesotaAddress()
                                      throws SystemException,
                                             BusinessException
Throws:
SystemException
BusinessException


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