com.retek.component.customerorder.impl
Class CustomerOrderBaseAuthorizationCalculation

java.lang.Object
  extended bycom.retek.component.customerorder.impl.CustomerOrderBaseAuthorizationCalculation
All Implemented Interfaces:
com.retek.component.customerorder.impl.CustomerOrderAuthCalculationStrategy

public abstract class CustomerOrderBaseAuthorizationCalculation
extends java.lang.Object
implements com.retek.component.customerorder.impl.CustomerOrderAuthCalculationStrategy


Field Summary
protected  CustomerOrder order
           
protected  CustomerOrderPayment payment
           
 
Constructor Summary
protected CustomerOrderBaseAuthorizationCalculation(CustomerOrder order, CustomerOrderPayment payment)
           
 
Method Summary
 Money calculateAuthorizationAmount()
           
protected abstract  Money doCalculateAuthorizationAmountForCreditCard(int authLeadTimeDays)
           
protected abstract  RetekLogger getLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

order

protected CustomerOrder order

payment

protected CustomerOrderPayment payment
Constructor Detail

CustomerOrderBaseAuthorizationCalculation

protected CustomerOrderBaseAuthorizationCalculation(CustomerOrder order,
                                                    CustomerOrderPayment payment)
Method Detail

getLogger

protected abstract RetekLogger getLogger()

calculateAuthorizationAmount

public final Money calculateAuthorizationAmount()
                                         throws SystemException,
                                                BusinessException
Specified by:
calculateAuthorizationAmount in interface com.retek.component.customerorder.impl.CustomerOrderAuthCalculationStrategy
Throws:
SystemException
BusinessException

doCalculateAuthorizationAmountForCreditCard

protected abstract Money doCalculateAuthorizationAmountForCreditCard(int authLeadTimeDays)
                                                              throws SystemException,
                                                                     BusinessException
Throws:
SystemException
BusinessException


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