Class ReservePaymentVoidCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, AEDPPaymentTaskCmd, AEDPStoreTaskCmd, AEDPTaskCmd, ReservePaymentCmd,,,,,,

    public class ReservePaymentVoidCmdImpl
    extends AEDPStoreTaskCmdImpl
    implements ReservePaymentCmd
    This is the void implementation of the ReservePaymentCmd task command.


    • This task command is called by 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
    • Field Detail


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

      • ReservePaymentVoidCmdImpl

        public ReservePaymentVoidCmdImpl()
    • 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.
      • setReleases

        public void setReleases(java.util.HashMap paramReleases)
        This method sets the releases to be reserved.
        Specified by:
        setReleases in interface ReservePaymentCmd
        paramReleases - A HashMap that represents the list of release IDs and their amounts to be reserved.
      • getReleases

        public java.util.HashMap getReleases()
        This method gets the list of releases to be processed in this request.
        A HashMap that represents the list of releases to be processed in this request.
      • setReservationAmount

        public void setReservationAmount(java.math.BigDecimal paramReservationAmount)
        This method sets the total order amount.
        Specified by:
        setReservationAmount in interface ReservePaymentCmd
        paramReservationAmount - A BigDecimal that specifies the total amount to be reserved.
      • getReservationAmount

        public java.math.BigDecimal getReservationAmount()
        This method gets the total amount to be reserved.
        A BigDecimal that specifies the total amount to be reserved.
      • performExecute

        public void performExecute()
                            throws ECException
        This method executes the business logic of this command implementation , which does nothing here.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
        ECException - This exception is thrown in case of a 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
        reset in class AEDPPaymentTaskCmdImpl
      • getReleaseIds

        public java.util.Collection getReleaseIds()
        This method obtains the list of release ids to be reserved.
        A Collection that represents the list of release ids to be reserved.