com.ibm.commerce.returns.commands
Interface ReturnItemComponentDisposeCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, 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 whten 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. Example xml string:
<?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 Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class name is "com.ibm.commerce.returns.commands.AdminReturnApproveCmdImpl" .
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.returns.commands.ReturnItemComponentDisposeCmd".
 
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
See Also:
Constant Field Values

NAME

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

defaultCommandClassName

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