com.ibm.commerce.tools.optools.returns.commands
Interface CSRReturnItemUpdateCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, ToolsControllerCommand
All Known Implementing Classes:
CSRReturnItemUpdateCmdImpl

public interface CSRReturnItemUpdateCmd
extends ToolsControllerCommand

Wrapper for ReturnItemUpdateCmd.

Parameters:

XML
String, in XML format, which contains all the required data for one or more returns items. CustomerId and returnItemId are required.
Example xml_string:
<XML>
         <customerId>1234</customerId>
         <returnItem>
           <returnItemId>10051</returnItemId> 
           <returnQuantity>1</returnQuantity>
           <creditAdjustment>29.99</creditAdjustment>
           <returnToWarehouse>yes</returnToWarehouse>
           <reasonForReturnCode>defective</reasonForReturnCode>
           <comment>The product does not work</comment>
         </returnItem>
         <returnItem>
           ...
         </returnItem>
       </XML>
URL
URL to be called when the command completes successfully.

Output parameters: none

Exceptions: ECApplicationException - if ReturnItemUpdateCmd throws an exception

Special behavior: When the ReturnItemUpdateCmd command is called the forUserId paremeter is set in the request properties to the value in the <customerId> xml tag.

See Also:
ReturnItemUpdateCmd

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          Default implementation class.
static java.lang.String NAME
          Interface name
 
Methods inherited from interface com.ibm.commerce.command. ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command. AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command. ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
Interface name
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
Default implementation class.
See Also:
Constant Field Values