Class CheckOrderPaymentAuthorizedVoidCmdImpl

    • Field Detail


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

      • CheckOrderPaymentAuthorizedVoidCmdImpl

        public CheckOrderPaymentAuthorizedVoidCmdImpl()
        The default constructor.
    • Method Detail

      • isOrderTotalAuthorized

        public java.lang.Boolean isOrderTotalAuthorized()
        This method returns if the order is totally approved in Payment Rule.
        Specified by:
        isOrderTotalAuthorized in interface CheckOrderPaymentAuthorizedCmd
        A Boolean indicating if the order is totally approved in Payment Rule.
      • 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 should be done before the Framework calls the method performExecute().
        Specified by:
        isReadyToCallExecute in interface
        isReadyToCallExecute in class AbstractECTargetableCommand
        A boolean indicating if the command is ready to execute.
      • performExecute

        public void performExecute()
                            throws ECException
        This method provides the business logic of this command. It does nothing here because it's in the void implementation class.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
        ECException - this exception is thrown when any kind of failure in 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
        reset in class AEDPPaymentTaskCmdImpl