Class StorePaymentConfigurationAddCtrlCmdImpl

    • Field Detail


        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
        validateParameters in class AbstractECTargetableCommand
        ECException - If the XMLObject cannot be parsed as expected.
      • getConfigId

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

        public void setConfigId(java.lang.String string)
        This method sets the payment configuration id.
        string - The payment configuration id
      • getMethodType

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

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