com.ibm.commerce.payment.config.commands

Class StorePaymentConfigurationAddCtrlCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • StorePaymentConfigurationAddCtrlCmdImpl

        public StorePaymentConfigurationAddCtrlCmdImpl()
    • Method Detail

      • validateParameters

        public void validateParameters()
                                throws ECException
        This method validates the parameters passed in. Also ,it gets the payment configuration id and method type from requestProperties. And it sets the information into the command local variables. It sets the success redirect URL as well.
        Specified by:
        validateParameters in interface ECCommand
        Overrides:
        validateParameters in class AbstractECTargetableCommand
        Throws:
        ECException - If the XMLObject cannot be parsed as expected.
      • getConfigId

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

        public void setConfigId(java.lang.String string)
        This method sets the payment configuration id.
        Parameters:
        string - The payment configuration id
      • 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