com.ibm.commerce.returns.commands

Interface ReturnItemComponentDisposeCmd

  • 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:
    ReturnItemComponentDisposeCmdImpl


    public interface ReturnItemComponentDisposeCmd
    extends ToolsControllerCommand
    Interface for command used to record disposition of a returned item after it has been received.

    Controller command URL calling syntax

    https://host_name/path/ReturnItemComponentDisposeCmd?receiptId=receiptId_value&URL=redirect_url&quantity=quantity_value&commment=comment_value&reason=reason_value&dispositionCode=dispositon_value&date=date_value&XML=XML_value

    Parameters

    receiptId (required)
    RMA receipt if for the received item
    quantity (required)
    quantity to be disposed (in inventory units)
    reason (optional)
    reason for disposition (CODE column of the RTNREASON table with reasontype in ('B', 'M'))
    dispositionCode(required)
    disposition code (rtndspcode_id column of the RTNDSPCODE table)
    date(optional)
    date disposed in the format YYYY:MM:DD:HH:MM:SS (YYYY:MM:DD is mandatory), defaults to current date/time if not specified
    comment (optional)
    comment for item being disposed
    URL (mandatory)
    the URL to be called when the command completes successfully
    XML
    An input XML string that contains the required data for receiving an RMA item component (see other parameters). If this is supplied, the other parameters will be ignored. For example:
    <?xml version="1.0" encoding "UTF-8">
    <XML>
    <receiptId>1001</receiptId>
    <quantity>3</quantity>
    <reason>-2</reason>
    <dispositionCode>-3</dispositionCode>
    <comment>yabba</comment>
    <date></date>
    </XML>
    • Field Detail

      • NAME

        static final java.lang.String NAME
        The name of this interface is "com.ibm.commerce.returns.commands.ReturnItemComponentDisposeCmd".
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation class name is "com.ibm.commerce.returns.commands.AdminReturnApproveCmdImpl" .
        See Also:
        Constant Field Values