com.ibm.commerce.payment.extern

Class ForwardPaymentSummaryCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, ForwardPaymentSummaryCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ForwardPaymentSummaryCmdImpl
    extends TaskCommandImpl
    implements ForwardPaymentSummaryCmd
    This ForwardPaymentSummaryCmdImpl Task Command is called by the PaymentSummaryGenerate command to forward payment summary data to an external accounting system. This command implementation is empty. It is intended for third-parties to extend and write implementation code for integration with an external accounting system.
    See Also:
    Serialized Form
    • Constructor Detail

      • ForwardPaymentSummaryCmdImpl

        public ForwardPaymentSummaryCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        The business logic for this command. This method should be overwritten by all command writers. Command writers should call super.performExecute() as the first line in their method. The default implementation calls checkParameters() for compatibility with 5.1

        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException.
        ECException
      • reset

        public void reset()
        This method should be called after a command has been executed to reset its states variables. After the call to reset, we should be able to execute the command again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setPaymentSummary

        public void setPaymentSummary(PaymentSummaryAccessBean abPaymentSummary)
        Sets the paymentSummary property of the command. The property is a reference to the com.ibm.commerce.payment.objects.PaymentSummaryAccessBean that holds the payment summary data.
        Specified by:
        setPaymentSummary in interface ForwardPaymentSummaryCmd
        Parameters:
        abPaymentSummary - the PaymentSummaryAccessBean that holds the payment summary data