Class TriggerPaymentActionsVoidCmdImpl

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

    public class TriggerPaymentActionsVoidCmdImpl
    extends AEDPPaymentTaskCmdImpl
    implements TriggerPaymentActionsCmd
    This is the void implementation of the TriggerPaymentActionsCmd task command.


    • This task command should be invoked to synchronize the event-driven payments after edit requests have taken place. It will try to bring the event-driven payments data to a 'phase' state (prime/reserve/finalize). This command is processed in silent mode and it is typically called after edit requests.
    • 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

      • TriggerPaymentActionsVoidCmdImpl

        public TriggerPaymentActionsVoidCmdImpl()
    • Method Detail

      • setOrderAccessBean

        public void setOrderAccessBean(OrderAccessBean abOrder)
        This method sets a reference to the order access bean.
        abOrder - A reference to the order access bean.
      • getOrderAccessBean

        public OrderAccessBean getOrderAccessBean()

        This method gets 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.
      • 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
      • setInitialAmount

        public void setInitialAmount(java.math.BigDecimal initialAmount)
        This method sets the initial amount to be used in the prime payment request.
        Specified by:
        setInitialAmount in interface TriggerPaymentActionsCmd
        initialAmount - A BigDecimal that specifies the initial amount to be used in the prime payment request.
      • setTotalAmount

        public void setTotalAmount(java.math.BigDecimal totalAmount)
        This method sets the total amount of the order.
        Specified by:
        setTotalAmount in interface TriggerPaymentActionsCmd
        totalAmount - A BigDecimal that specifies the total amount of the order.