com.ibm.commerce.returns.commands

Interface ReturnItemUpdateCmd

  • 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
    All Known Implementing Classes:
    ReturnItemAddCmdImpl, ReturnItemBaseCmdImpl, ReturnItemUpdateCmdImpl


    public interface ReturnItemUpdateCmd
    extends ControllerCommand
    This controller command is used to update information about a return merchandise authorization (RMA) item.

    Controller command URL calling syntax

    https://host_name/path/ReturnItemAddCmd?RMAIdItem_i=RMAItemId_value&URL=redirect_url&quantity_t=quantity_value&UOM_i=UOM_value&commment_i=comment_value&reason_i&outRMANname=outRMANname_value&creditAdjustment_i=creditAdjustment_value&recieve_i=receive_value&forUserId=forUserId_value

    Parameters

    RMAItemId_i(required)
    all RMA items must be in the same RMA or an exception will be raised
    quantity_i (optional)
    quantity being returned (in CATENTRY units)
    UOM_i(optional)
    UOM for the quantity being returned (in CATENTRY units)
    comment_i (optional)
    comment for item being returned
    reason_i (optional)
    purchaser provided reason for return (CODE column of the RTNREASON table with reasontype in ('B', 'C'))
    outRMAName (optional)
    the name to use for the name-value pair which will be passed to the redirected URL. This parameter is useful for chaining commands. If this parameter is not specified then "RMAId" will be used as the name portion of the RMA id name-value pair. And passed to the redirected URL.
    URL (mandatory)
    the URL to be called when the command completes successfully.
    creditAdjustment_i (optional and only valid if forUserId is set)
    the amount to adjust the product credit amount by. The format of this number must fit the rules for a java.math.BigDecimal object. The number must use a period for the decimal place. This amount will override any amount calculated by the CalculateReturnItemAdjustment task command.
    receive_i (optional and only valid i forUserId is set)
    whether the return item components are supposed to be received.
    forUserId (when called by a CSR)
    userid of the customer
    The default implementation of this command is ReturnItemUpdateCmdImpl. The ReturnItemUpdate URL is mapped to this command by default.
    • Field Detail

      • COPYRIGHT

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

        static final java.lang.String NAME
        The full name of this command.
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default implementation of this command.
        See Also:
        Constant Field Values