com.ibm.commerce.inventory.commands
Interface ReturnReasonCodeUpdateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
- All Known Implementing Classes:
- ReturnReasonCodeUpdateCmdImpl
- public interface ReturnReasonCodeUpdateCmd
- extends ToolsControllerCommand
Update an existing return reason.
This command requires to have the store entity id and language id set in the
command context.
Parameters
- EC_XMLObject
- An input xml_string that contains all required data for updating
the return reason.
Example xml_string for return reason:
inventory.ReturnReasonDetailChange
300
Return reason code1
Return reason code description
- URL
- The URL to be called when the command completes successfully.
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.
Method Summary |
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. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class name.
NAME
public static final java.lang.String NAME
setReturnReasonCode
public void setReturnReasonCode(java.lang.String newReturnReasonCode)
- Set the return reason code.
- Parameters:
newReturnReasonCode
- java.lang.String
setReturnReasonDescription
public void setReturnReasonDescription(java.lang.String newReturnReasonDescription)
- Set the description of the reason for the return.
- Parameters:
newReturnReasonDescription
- java.lang.String
setReturnReasonId
public void setReturnReasonId(java.lang.String newReturnReasonId)
- Set the return reason code identifier.
- Parameters:
newReturnReasonId
- java.lang.String