public interface ReturnReasonCodeUpdateCmd extends ToolsControllerCommand
This command requires to have the store entity id and language id set in the command context.
Parameters
Example xml_string for return reason:
<?xml version="1.0" encoding="UTF-8"?> <XML> <XMLFile>inventory.ReturnReasonDetailChange</XMLFile> <rtnreasonId>300</rtnreasonId> <code>Return reason code1</code> <description>Return reason code description</description> </XML>
Exceptions
When the required fields are missing or not in the right data type, this command will throw exception to indicate which field is missing or bad.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
defaultCommandClassName
The default implementation class name.
|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
void |
setReturnReasonCode(java.lang.String newReturnReasonCode)
Set the return reason code.
|
void |
setReturnReasonDescription(java.lang.String newReturnReasonDescription)
Set the description of the reason for the return.
|
void |
setReturnReasonId(java.lang.String newReturnReasonId)
Set the return reason code identifier.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
void setReturnReasonCode(java.lang.String newReturnReasonCode)
newReturnReasonCode
- java.lang.Stringvoid setReturnReasonDescription(java.lang.String newReturnReasonDescription)
newReturnReasonDescription
- java.lang.Stringvoid setReturnReasonId(java.lang.String newReturnReasonId)
newReturnReasonId
- java.lang.String