Class ProcessPaymentEventVoidCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, AEDPPaymentTaskCmd, AEDPTaskCmd, ProcessPaymentEventCmd,,,,,,

    public class ProcessPaymentEventVoidCmdImpl
    extends AEDPPaymentTaskCmdImpl
    implements ProcessPaymentEventCmd
    This is the void implementation of the ProcessPaymentEventCmd task command.


    • This task command sets the priority of payment event as medium, so the ECEvent will process the event as soon as possible. It is invoked when order begin currently, the customer can use this command when they want to accelerate the payment event.
    • As the void implementation,this command does nothing. The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base. Note that please use the void implementation of all commands once you decide to disable the command implementation.

    Input parameters:


    Output parameters:


    Task commands called:

    See Also:
    Serialized Form
    • Constructor Detail

      • ProcessPaymentEventVoidCmdImpl

        public ProcessPaymentEventVoidCmdImpl()
    • Method Detail

      • isReadyToCallExecute

        public boolean isReadyToCallExecute()
        This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command. This is done before the Framework calls the performExecute method of the command.

        Here this method does nothing.

        Specified by:
        isReadyToCallExecute in interface
        isReadyToCallExecute in class AbstractECTargetableCommand
        A boolean that is true if the command is ready to execute and false otherwise.
      • performExecute

        public void performExecute()
                            throws ECException
        This method executes the business logic of this command implementation.

        This method changes the payment event in event bus to medium to accelerate the backend payment action execution. Actually it does nothing.

        It does nothing here.

        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
        ECException - This exception is thrown for any kind of EDP exceptions.
      • 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
        reset in class AEDPPaymentTaskCmdImpl