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

Interface CSRReturnProcessCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, ToolsControllerCommand
    All Known Implementing Classes:
    CSRReturnProcessCmdImpl


    public interface CSRReturnProcessCmd
    extends ToolsControllerCommand
    Wrapper for the ReturnProcessCmd command.

    Parameters:

    XML
    String, in XML format, which contains all the required data. ReturnId, customerId and refundPolicyId are required. The edit node is used to denote whether the return is a new one (false) or an existing one (true).
    Example xml_string:
    <?xml version="1.0" encoding "UTF-8">
           <XML>
             <returnId>1001</returnId>
             <customerId>1234</customerId>
             <refundPolicyId>5678</refundPolicyId>
             <edit>false</edit>
           </XML>
    URL
    URL to be called when the command completes successfully.

    Output parameters:
    None.

    Exceptions:
    ECApplicationException - if ReturnCancelCmd throws an exception

    Special behavior:
    When the ReturnItemAddCmd command is called the forUserId parameter is set in the request properties to the value in the <customerId> XML tag.
    Sets the INUSE column on the RMA/return to 'N' to mark that the return is not being edited. This is done here because this command should be the last command to be called when the return is being worked on.

    See Also:
    ReturnProcessCmd
    • Field Detail

      • COPYRIGHT

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

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