com.ibm.commerce.edp.commands

Class EDPDepositableAmountProcessCmdImpl

    • Constructor Detail

      • EDPDepositableAmountProcessCmdImpl

        public EDPDepositableAmountProcessCmdImpl()
    • Method Detail

      • postExecute

        public void postExecute()
        Specified by:
        postExecute in interface com.ibm.websphere.command.CacheableCommand
        Overrides:
        postExecute in class com.ibm.websphere.command.CacheableCommandImpl
        See Also:
        CacheableCommand.postExecute()
      • processDepositForOrder

        public void processDepositForOrder(java.lang.Long orderId)
                                    throws EDPException,
                                           J2EEException,
                                           ECException
        This method processes the deposit action for an order. During Finalize Payment business event, the total amount of an order could increase, this method processes this scenario.
        Parameters:
        orderId - Current order id
        Throws:
        EDPException - In case of any failures
        J2EEException - In case of any failures
        ECException - In case of any failures
      • reset

        public void reset()

        This method resets the command fields.

        After this method is invoked, and proper attributes are set, the command can be executed again.

        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand