com.ibm.commerce.edp.commands

Class StoreAndValidatePaymentVoidCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • StoreAndValidatePaymentVoidCmdImpl

        public StoreAndValidatePaymentVoidCmdImpl()
    • 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. This method does nothing here.
        Specified by:
        isReadyToCallExecute in interface com.ibm.websphere.command.Command
        Overrides:
        isReadyToCallExecute in class AbstractECTargetableCommand
        Returns:
        A boolean that is true if the command is ready to execute and false otherwise.
      • performExecute

        public void performExecute()
                            throws ECException
        This is a void implementation for the command interface. There is no execution inside this method.
        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 in case of any failure.
      • 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
      • setPaymentAttributes

        public void setPaymentAttributes(TypedProperty requestProperties)

        This method is the void implementation for setPaymentAtrricutes() method in StoreAndValidatePaymentCmd.

        Specified by:
        setPaymentAttributes in interface StoreAndValidatePaymentCmd
        Parameters:
        requestProperties - A TypedProperty which is the protocol data representing a single payment instruction.