com.ibm.commerce.payment.config.commands

Class StorePaymentConfigurationDeleteCtrlCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • StorePaymentConfigurationDeleteCtrlCmdImpl

        public StorePaymentConfigurationDeleteCtrlCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        This method performs the logic of deleting the association between the specified store with a payment configuration.
        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.
      • 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
      • getPaymentMethodName

        public java.lang.String getPaymentMethodName()
        This method returns the payment method name in the current payment configuration.
        Returns:
        paymentMethodName The payment method name in the current payment configuration
      • setPaymentMethodName

        public void setPaymentMethodName(java.lang.String string)
        This method sets the payment method name in the current payment configuration.
        Parameters:
        string - The payment method name in the current payment configuration