com.ibm.commerce.edp.commands

Class CheckOrderPaymentDepositedCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM Copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckOrderPaymentDepositedCmdImpl

        public CheckOrderPaymentDepositedCmdImpl()
        The default constructor.
    • Method Detail

      • isOrderTotalDeposited

        public java.lang.Boolean isOrderTotalDeposited()
        This method returns if the order is totally deposited in Payment Rule.
        Specified by:
        isOrderTotalDeposited in interface CheckOrderPaymentDepositedCmd
        Returns:
        A Boolean indicating if the order total is deposited.
      • setOrderTotalDeposited

        public void setOrderTotalDeposited(java.lang.Boolean deposited)
        This method sets if the order is deposited in payment system.
        Parameters:
        deposited - A Boolean that indicating if the order total is deposited.
      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method checks if the command is ready to be executed. This method is called by the WC Command Framework to check if all mandatory parameters have been properly set for this command. This is done before the Framework calls the performExecute method of the command.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        A boolean indicating if the command is ready to execute.
      • performExecute

        public void performExecute()
                            throws ECException
        This method executes the business logic of this command implementation.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - This exception is thrown when any kind of failure comes from event-driven payments subcomponent.
      • 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 AEDPPaymentTaskCmdImpl