com.retek.rcom.gui.screen.ordercommon
Class OrderPaymentHandler

java.lang.Object
  extended bycom.retek.commons.gui.core.ScreenHandler
      extended bycom.retek.rcom.gui.screen.ordercommon.OrderPaymentHandler
Direct Known Subclasses:
OrderEntryPaymentHandler, OrderMainPaymentHandler

public abstract class OrderPaymentHandler
extends ScreenHandler

Abstract handler to hold common behavior between OrderEntry and OrderMain


Field Summary
protected  CustomerOrder order
           
 
Constructor Summary
OrderPaymentHandler()
           
 
Method Summary
 boolean hasAccommodationPermission()
           
 boolean isCashAllowed()
           
 boolean isCheckAllowed()
           
 boolean isCreditCardAllowed()
           
 boolean isGiftCardAllowed()
           
abstract  boolean isMailOrder()
          VALIDATING APPROPRIATE TENDER TYPES This is done to enable/disable the payment buttons based on what tender types are available to the banner/channel type
 boolean isMoneyOrderAllowed()
           
 boolean isPhysicalTenderAllowed()
           
 boolean isVoucherAllowed()
           
 
Methods inherited from class com.retek.commons.gui.core.ScreenHandler
getException, getLogger, getSystemException, processSystemException, register, register, unregister, unregisterAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

order

protected CustomerOrder order
Constructor Detail

OrderPaymentHandler

public OrderPaymentHandler()
Method Detail

hasAccommodationPermission

public boolean hasAccommodationPermission()
                                   throws SystemException
Throws:
SystemException

isMailOrder

public abstract boolean isMailOrder()
VALIDATING APPROPRIATE TENDER TYPES This is done to enable/disable the payment buttons based on what tender types are available to the banner/channel type


isPhysicalTenderAllowed

public boolean isPhysicalTenderAllowed()
                                throws SystemException
Throws:
SystemException

isVoucherAllowed

public boolean isVoucherAllowed()
                         throws SystemException,
                                BusinessException
Throws:
SystemException
BusinessException

isCreditCardAllowed

public boolean isCreditCardAllowed()
                            throws SystemException,
                                   BusinessException
Throws:
SystemException
BusinessException

isCheckAllowed

public boolean isCheckAllowed()
                       throws SystemException,
                              BusinessException
Throws:
SystemException
BusinessException

isGiftCardAllowed

public boolean isGiftCardAllowed()
                          throws SystemException,
                                 BusinessException
Throws:
SystemException
BusinessException

isMoneyOrderAllowed

public boolean isMoneyOrderAllowed()
                            throws SystemException,
                                   BusinessException
Throws:
SystemException
BusinessException

isCashAllowed

public boolean isCashAllowed()
                      throws SystemException,
                             BusinessException
Throws:
SystemException
BusinessException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25