com.retek.rcom.gui.screen.orderentry
Class OrderEntryPaymentHandler

java.lang.Object
  extended bycom.retek.commons.gui.core.ScreenHandler
      extended bycom.retek.rcom.gui.screen.ordercommon.OrderPaymentHandler
          extended bycom.retek.rcom.gui.screen.orderentry.OrderEntryPaymentHandler

public class OrderEntryPaymentHandler
extends OrderPaymentHandler


Field Summary
 
Fields inherited from class com.retek.rcom.gui.screen.ordercommon.OrderPaymentHandler
order
 
Constructor Summary
OrderEntryPaymentHandler(OrderScreenType screenType)
          STATE MANAGEMENT
 
Method Summary
 void cancelPayment()
           
 boolean canDisplayUpsellLists()
          UPSELL METHODS
 void clearTaxCalculationError()
           
 void clearUpsellLists()
           
 void generateRefundIfNegativeBalance()
          Generates a Refund if the order has a Negative Balance
 java.lang.String getAccommodationAmount()
           
 java.lang.String getAccommodationDescription()
           
 java.util.Set getAccommodations()
          ACcOMMODATIONS METHODS
 java.lang.String getAccommodationTotal()
           
 java.lang.String getAccommodationType()
           
 java.lang.String getAdditionalChargesAmount()
           
 java.lang.Object getCurrentPayment()
           
 java.lang.String getDeliveryTotal()
           
 java.lang.String getGiftingAmount()
           
 java.lang.String getMerchandiseAmount()
          ORDER METHODS
 java.lang.String getMerchandiseTaxAmount()
           
 java.lang.Object getOrder()
           
 java.lang.String getOrderBalance()
           
 java.lang.String getOrderTotal()
           
 java.lang.String getPaymentTotal()
           
 java.lang.String getPersonalizationAmount()
           
 java.lang.String getPromotionalTotal()
           
 java.lang.String getPromotionAmount()
           
 java.lang.String getPromotionDescription()
           
 java.util.Collection getPromotionRollups()
          PROMOTIONS METHODS
 java.lang.String getPromotionType()
           
 java.util.Set getQualifiedPromotions()
           
 java.lang.String getRushShippingChargesAmount()
           
 java.lang.String getShippingAmount()
           
 java.lang.String getShippingTaxAmount()
           
 java.lang.String getSubTotal()
           
 java.lang.String getTaxTotal()
           
 java.lang.String getVasTaxAmount()
           
 boolean isCancelPaymentAllowed()
          PAYMENT STATE METHODS
 boolean isGiftCertificateBenefit(java.lang.Object object)
           
 boolean isItemBenefit(java.lang.Object object)
           
 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 isManualAuthorizeAllowed()
           
 boolean isOrderBalanceZero()
           
 boolean isPaymentCash()
           
 boolean isPaymentCheck()
           
 boolean isPaymentCreditCard()
          PAYMENT TYPE METHODS
 boolean isPaymentMoneyOrder()
           
 boolean isPaymentVoucher()
           
 boolean isPlanCodeBenefit(java.lang.Object object)
           
 boolean isTaxCalculationValid()
           
 void manuallyAuthorizePayment(java.lang.String authCode)
          VALIDATION AND AUTHORIZATION
 void orderLinesModified()
           
 void retrieveDataFromRepository()
           
 void setAccommodation(java.lang.Object object)
           
 void setCurrentPayment(java.lang.Object payment)
           
 void setPromotionRollup(java.lang.Object object)
           
 void storeDisplayedPromotionsInRepository(java.util.Set displayedPromotions)
           
 void upsellDialogClosed()
           
 
Methods inherited from class com.retek.rcom.gui.screen.ordercommon.OrderPaymentHandler
hasAccommodationPermission, isCashAllowed, isCheckAllowed, isCreditCardAllowed, isGiftCardAllowed, isMoneyOrderAllowed, isPhysicalTenderAllowed, 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
 

Constructor Detail

OrderEntryPaymentHandler

public OrderEntryPaymentHandler(OrderScreenType screenType)
STATE MANAGEMENT

Method Detail

retrieveDataFromRepository

public void retrieveDataFromRepository()

getOrder

public java.lang.Object getOrder()

isMailOrder

public boolean isMailOrder()
Description copied from class: OrderPaymentHandler
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

Specified by:
isMailOrder in class OrderPaymentHandler

generateRefundIfNegativeBalance

public void generateRefundIfNegativeBalance()
                                     throws SystemException,
                                            BusinessException
Generates a Refund if the order has a Negative Balance

Throws:
SystemException
BusinessException

setCurrentPayment

public void setCurrentPayment(java.lang.Object payment)

getCurrentPayment

public java.lang.Object getCurrentPayment()

isOrderBalanceZero

public boolean isOrderBalanceZero()
                           throws SystemException,
                                  UiBusinessException
Throws:
SystemException
UiBusinessException

isCancelPaymentAllowed

public boolean isCancelPaymentAllowed()
                               throws SystemException
PAYMENT STATE METHODS

Throws:
SystemException

cancelPayment

public void cancelPayment()
                   throws SystemException,
                          BusinessException
Throws:
SystemException
BusinessException

isPaymentCreditCard

public boolean isPaymentCreditCard()
PAYMENT TYPE METHODS


isPaymentCash

public boolean isPaymentCash()

isPaymentVoucher

public boolean isPaymentVoucher()

isPaymentMoneyOrder

public boolean isPaymentMoneyOrder()

isPaymentCheck

public boolean isPaymentCheck()

manuallyAuthorizePayment

public void manuallyAuthorizePayment(java.lang.String authCode)
                              throws SystemException,
                                     BusinessException
VALIDATION AND AUTHORIZATION

Throws:
SystemException
BusinessException

getMerchandiseAmount

public java.lang.String getMerchandiseAmount()
                                      throws SystemException,
                                             BusinessException
ORDER METHODS

Throws:
SystemException
BusinessException

getPersonalizationAmount

public java.lang.String getPersonalizationAmount()
                                          throws SystemException,
                                                 BusinessException
Throws:
SystemException
BusinessException

getGiftingAmount

public java.lang.String getGiftingAmount()
                                  throws SystemException,
                                         BusinessException
Throws:
SystemException
BusinessException

getSubTotal

public java.lang.String getSubTotal()
                             throws SystemException,
                                    BusinessException
Throws:
SystemException
BusinessException

getShippingAmount

public java.lang.String getShippingAmount()
                                   throws SystemException,
                                          BusinessException
Throws:
SystemException
BusinessException

getAdditionalChargesAmount

public java.lang.String getAdditionalChargesAmount()
                                            throws SystemException,
                                                   BusinessException
Throws:
SystemException
BusinessException

getRushShippingChargesAmount

public java.lang.String getRushShippingChargesAmount()
                                              throws SystemException,
                                                     BusinessException
Throws:
SystemException
BusinessException

getDeliveryTotal

public java.lang.String getDeliveryTotal()
                                  throws SystemException,
                                         BusinessException
Throws:
SystemException
BusinessException

getMerchandiseTaxAmount

public java.lang.String getMerchandiseTaxAmount()
                                         throws SystemException,
                                                BusinessException
Throws:
SystemException
BusinessException

getShippingTaxAmount

public java.lang.String getShippingTaxAmount()
                                      throws SystemException,
                                             BusinessException
Throws:
SystemException
BusinessException

getVasTaxAmount

public java.lang.String getVasTaxAmount()
                                 throws SystemException,
                                        BusinessException
Throws:
SystemException
BusinessException

getTaxTotal

public java.lang.String getTaxTotal()
                             throws SystemException,
                                    BusinessException
Throws:
SystemException
BusinessException

getPaymentTotal

public java.lang.String getPaymentTotal()
                                 throws SystemException,
                                        BusinessException
Throws:
SystemException
BusinessException

getAccommodationTotal

public java.lang.String getAccommodationTotal()
                                       throws SystemException,
                                              BusinessException
Throws:
SystemException
BusinessException

getPromotionalTotal

public java.lang.String getPromotionalTotal()
                                     throws SystemException,
                                            BusinessException
Throws:
SystemException
BusinessException

getOrderTotal

public java.lang.String getOrderTotal()
                               throws SystemException,
                                      BusinessException
Throws:
SystemException
BusinessException

getOrderBalance

public java.lang.String getOrderBalance()
                                 throws SystemException,
                                        BusinessException
Throws:
SystemException
BusinessException

clearTaxCalculationError

public void clearTaxCalculationError()
                              throws SystemException,
                                     BusinessException
Throws:
SystemException
BusinessException

isTaxCalculationValid

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

isManualAuthorizeAllowed

public boolean isManualAuthorizeAllowed()
                                 throws SystemException
Throws:
SystemException

getPromotionRollups

public java.util.Collection getPromotionRollups()
                                         throws SystemException,
                                                BusinessException
PROMOTIONS METHODS

Throws:
SystemException
BusinessException

setPromotionRollup

public void setPromotionRollup(java.lang.Object object)

getPromotionType

public java.lang.String getPromotionType()

getPromotionDescription

public java.lang.String getPromotionDescription()
                                         throws SystemException
Throws:
SystemException

getPromotionAmount

public java.lang.String getPromotionAmount()
                                    throws SystemException
Throws:
SystemException

getAccommodations

public java.util.Set getAccommodations()
                                throws SystemException,
                                       BusinessException
ACcOMMODATIONS METHODS

Throws:
SystemException
BusinessException

setAccommodation

public void setAccommodation(java.lang.Object object)

getAccommodationType

public java.lang.String getAccommodationType()

getAccommodationDescription

public java.lang.String getAccommodationDescription()
                                             throws SystemException
Throws:
SystemException

getAccommodationAmount

public java.lang.String getAccommodationAmount()
                                        throws SystemException
Throws:
SystemException

canDisplayUpsellLists

public boolean canDisplayUpsellLists()
                              throws SystemException,
                                     BusinessException
UPSELL METHODS

Throws:
SystemException
BusinessException

upsellDialogClosed

public void upsellDialogClosed()

clearUpsellLists

public void clearUpsellLists()
                      throws SystemException,
                             BusinessException
Throws:
SystemException
BusinessException

getQualifiedPromotions

public java.util.Set getQualifiedPromotions()
                                     throws SystemException
Throws:
SystemException

storeDisplayedPromotionsInRepository

public void storeDisplayedPromotionsInRepository(java.util.Set displayedPromotions)

isItemBenefit

public boolean isItemBenefit(java.lang.Object object)
                      throws SystemException
Throws:
SystemException

isGiftCertificateBenefit

public boolean isGiftCertificateBenefit(java.lang.Object object)
                                 throws SystemException
Throws:
SystemException

isPlanCodeBenefit

public boolean isPlanCodeBenefit(java.lang.Object object)
                          throws SystemException
Throws:
SystemException

orderLinesModified

public void orderLinesModified()


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