com.ibm.commerce.payment.config.commands

Class PaymentConfigurationDeleteCtrlCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PaymentConfigurationDeleteCtrlCmdImpl

        public PaymentConfigurationDeleteCtrlCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        This method performs the logic of deleting the payment configuration ,which invokes Payment Rules PaymentConfigurationUtil to perform this action.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException - In case of any error
      • setUrl

        public void setUrl(java.lang.String url)
        This method sets the URL to be redirected to at the end of the command.
        Parameters:
        url - The URL to redirect to.
      • getConfigId

        public java.lang.String getConfigId()
        This method returns the payment configuration identifier to delete.
        Returns:
        configId The payment configuration identifier to delete
      • setConfigId

        public void setConfigId(java.lang.String string)
        This method sets the payment configuration identifier to delete.
        Parameters:
        string - The payment configuration identifier to delete
      • getMethodType

        public java.lang.String getMethodType()
        This method returns the method type, which could be payment or refund.
        Returns:
        methodType The method type
      • setMethodType

        public void setMethodType(java.lang.String string)
        This method sets the method type, which could be payment or refund.
        Parameters:
        string - The method type