com.retek.component.tax.impl
Class TaxCalculatorImpl

java.lang.Object
  extended bycom.retek.commons.component.impl.BusinessObjectImpl
      extended bycom.retek.commons.component.impl.SecondClassObjectImpl
          extended bycom.retek.component.tax.impl.TaxCalculatorImpl
All Implemented Interfaces:
BusinessObject, SecondClassObject, TaxCalculator

public class TaxCalculatorImpl
extends SecondClassObjectImpl
implements TaxCalculator


Field Summary
 
Fields inherited from class com.retek.commons.component.impl.BusinessObjectImpl
context
 
Fields inherited from interface com.retek.component.tax.TaxCalculator
INVOICE
 
Constructor Summary
TaxCalculatorImpl(DistributedContext context, TaxCalculatorInvoice invoice, boolean forPersistence)
           
 
Method Summary
 TaxCalculatorDto getDto()
           
 Money getGiftingTax()
           
 Money getGiftingTax(long lineItemId)
           
 TaxCalculatorInvoice getInvoice()
           
 Money getMerchandiseTax()
           
 Money getMerchandiseTax(long lineItemId)
           
 Money getPersonalizationTax()
           
 Money getPersonalizationTax(long lineItemId)
           
 Money getShippingAndHandlingTax()
           
 Money getShippingAndHandlingTax(long lineItemId)
           
 boolean isForPersistence()
           
 
Methods inherited from class com.retek.commons.component.impl.SecondClassObjectImpl
equals, getGenericDto, hashCode, setGenericDto, toString, wrap, wrap, wrap, wrap
 
Methods inherited from class com.retek.commons.component.impl.BusinessObjectImpl
checkRelation, checkRelation, getBusinessInterface, getContext
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 

Constructor Detail

TaxCalculatorImpl

public TaxCalculatorImpl(DistributedContext context,
                         TaxCalculatorInvoice invoice,
                         boolean forPersistence)
                  throws SystemException,
                         BusinessException
Method Detail

getDto

public TaxCalculatorDto getDto()

getInvoice

public TaxCalculatorInvoice getInvoice()
                                throws SystemException
Specified by:
getInvoice in interface TaxCalculator
Throws:
SystemException

getMerchandiseTax

public Money getMerchandiseTax()
Specified by:
getMerchandiseTax in interface TaxCalculator

getShippingAndHandlingTax

public Money getShippingAndHandlingTax()
Specified by:
getShippingAndHandlingTax in interface TaxCalculator

getShippingAndHandlingTax

public Money getShippingAndHandlingTax(long lineItemId)
Specified by:
getShippingAndHandlingTax in interface TaxCalculator

getMerchandiseTax

public Money getMerchandiseTax(long lineItemId)
Specified by:
getMerchandiseTax in interface TaxCalculator

getGiftingTax

public Money getGiftingTax()
Specified by:
getGiftingTax in interface TaxCalculator

getGiftingTax

public Money getGiftingTax(long lineItemId)
Specified by:
getGiftingTax in interface TaxCalculator

getPersonalizationTax

public Money getPersonalizationTax()
Specified by:
getPersonalizationTax in interface TaxCalculator

getPersonalizationTax

public Money getPersonalizationTax(long lineItemId)
Specified by:
getPersonalizationTax in interface TaxCalculator

isForPersistence

public boolean isForPersistence()


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