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

Interface CSRReturnItemUpdateCmd

  • 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:
    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 parameter is set in the request properties to the value in the <customerId> XML tags.

    See Also:
    ReturnItemUpdateCmd
    • 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