Class FinalizePaymentVoidCmdImpl

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

    public class FinalizePaymentVoidCmdImpl
    extends AEDPStoreTaskCmdImpl
    implements FinalizePaymentCmd
    This is the void implementation of the FinalizePaymentCmd task command.


    • 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

      • FinalizePaymentVoidCmdImpl

        public FinalizePaymentVoidCmdImpl()
    • Method Detail

      • setFinalizationAmount

        public void setFinalizationAmount(java.math.BigDecimal paramFinalizationAmount)
        This method sets the amount to be finalized.
        Specified by:
        setFinalizationAmount in interface FinalizePaymentCmd
        paramFinalizationAmount - A BigDecimal that specifies the amount to be finalized.
      • getFinalizationAmount

        public java.math.BigDecimal getFinalizationAmount()
        This method returns the amount to be finalized as a BigDecimal Object.
        A BigDecimal that specifies the amount to be finalized.
      • getOrderAccessBean

        public OrderAccessBean getOrderAccessBean()

        This method returns a reference to the order access bean.

        This method will first check if there is a local reference to the order access bean. If not present, it will create a new one.

        A OrderAccessBean that corresponds to the Order to paid for.
      • 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.
        Specified by:
        isReadyToCallExecute in interface
        isReadyToCallExecute in class AbstractECTargetableCommand
        A boolean that is true if the command is ready to execute and false otherwise.
      • setReleaseId

        public void setReleaseId(java.lang.Long paramReleaseId)
        This method sets the ID of the release for which the amount is being finalized.
        Specified by:
        setReleaseId in interface FinalizePaymentCmd
        paramReleaseId - A Long that specifies the sets the ID of the release.
      • getReleaseId

        public java.lang.Long getReleaseId()
        This method returns the current release id.
        A Long that specifies the ID of the release for which the amount is being finalized.
      • executeFinalizePaymentTCs

        public void executeFinalizePaymentTCs()
                                       throws ECException
        This method executes the paymentTCs required to call EDP finalizePayment
      • 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