com.retek.rcom.gui.screen.ordermain
Class OrderMainPaymentHandler

java.lang.Object
  extended bycom.retek.commons.gui.core.ScreenHandler
      extended bycom.retek.rcom.gui.screen.ordercommon.OrderPaymentHandler
          extended bycom.retek.rcom.gui.screen.ordermain.OrderMainPaymentHandler

public class OrderMainPaymentHandler
extends OrderPaymentHandler


Field Summary
 
Fields inherited from class com.retek.rcom.gui.screen.ordercommon.OrderPaymentHandler
order
 
Constructor Summary
OrderMainPaymentHandler()
           
 
Method Summary
 void cancelPayment()
           
 void clearTaxCalculationError()
           
 void generateRefundIfNegativeBalance()
           
 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 TOTALS
 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.lang.String getRushShippingChargesAmount()
           
 java.lang.String getShippingAmount()
           
 java.lang.String getShippingTaxAmount()
           
 java.lang.String getSubTotal()
           
 java.lang.String getTaxTotal()
           
 java.lang.String getVasTaxAmount()
           
 boolean hasOrder()
           
 boolean hasOrderBalance()
           
 boolean isCancelPaymentAllowed()
          PAYMENT STATE METHODS
 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 isPaymentCash()
           
 boolean isPaymentCheck()
           
 boolean isPaymentCreditCard()
          PAYMENT TYPE METHODS
 boolean isPaymentMoneyOrder()
           
 boolean isPaymentVoucher()
           
 boolean isTaxCalculationValid()
           
 void manuallyAuthorizePayment(java.lang.String authCode)
          ACTION METHODS
 void orderLinesModified()
           
 void retrieveDataFromRepository()
          STATE MANAGEMENT
 void setAccommodation(java.lang.Object object)
           
 void setCurrentPayment(java.lang.Object payment)
           
 void setPromotionRollup(java.lang.Object object)
           
 
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

OrderMainPaymentHandler

public OrderMainPaymentHandler()
Method Detail

retrieveDataFromRepository

public void retrieveDataFromRepository()
                                throws SystemException
STATE MANAGEMENT

Throws:
SystemException

getOrder

public java.lang.Object getOrder()

generateRefundIfNegativeBalance

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

setCurrentPayment

public void setCurrentPayment(java.lang.Object payment)

getCurrentPayment

public java.lang.Object getCurrentPayment()

hasOrder

public boolean hasOrder()

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

hasOrderBalance

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

orderLinesModified

public void orderLinesModified()

isCancelPaymentAllowed

public boolean isCancelPaymentAllowed()
                               throws SystemException
PAYMENT STATE METHODS

Throws:
SystemException

isManualAuthorizeAllowed

public boolean isManualAuthorizeAllowed()
                                 throws SystemException
Throws:
SystemException

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
ACTION METHODS

Throws:
SystemException
BusinessException

cancelPayment

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

getMerchandiseAmount

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

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

isTaxCalculationValid

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

clearTaxCalculationError

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

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


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