public class StorePaymentConfigurationAddCtrlCmdImpl extends ToolsControllerCommandImpl implements StorePaymentConfigurationAddCtrlCmd, ECConstants, ECToolsConstants, com.ibm.commerce.base.helpers.EJBConstants
If the redirect URL is not specified, calls GenericRedirectView upon successful completion, or GenericApplicationError, upon failure.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
StorePaymentConfigurationAddCtrlCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getConfigId()
This method returns the payment configuration id.
|
java.lang.String | getMethodType()
This method returns the method type, which could be payment or refund.
|
AccessVector | getResources()
This method gets the access vector accessed by this command, which is called by WebSphere Commerce access control framework.
|
protected void | handleSubmitError(ECException e)
This method constructs and returns the error message.
|
void | performExecute()
This method performs the logic of associating the specified store with a payment configuration.
|
void | setConfigId(java.lang.String string)
This method sets the payment configuration id.
|
void | setMethodType(java.lang.String string)
This method sets the method type, which could be payment or refund.
|
void | validateParameters()
This method validates the parameters passed in.
|
public static final java.lang.String COPYRIGHT
public StorePaymentConfigurationAddCtrlCmdImpl()
public void validateParameters() throws ECException
public AccessVector getResources() throws ECException
public void performExecute() throws ECException
protected void handleSubmitError(ECException e) throws ECApplicationException
public java.lang.String getConfigId()
public void setConfigId(java.lang.String string)
public java.lang.String getMethodType()
public void setMethodType(java.lang.String string)