com.ibm.commerce.tools.optools.order.commands
Interface CSROrderItemDeleteCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
- All Known Implementing Classes:
- CSROrderItemDeleteCmdImpl
- public interface CSROrderItemDeleteCmd
- extends ToolsControllerCommand
Deletes one or more order items from an order.
URL calling syntax:
Https://host_name/path/CSROrderItemDelete?XML=xml_string&URL=return_url
Parameters:
XML
An input xml_string that contains all the required data for one or many order items.
Example xml_string:
<?xml version="1.0" encoding "UTF-8">
<order>
<customerId>10001</customerId>
<firstOrder>
<id>20001</id>
</firstOrder>
<secondOrder>
<id>20002</id>
<secondOrder>
</order>
<orderItem>
<orderItemId>10001</orderItemId>
</orderItem>
</xml>
URL
The URL to be called when the command completes successfully.
ResponseProperties:
firstOrderId
The order ID of the first order
secondOrderId
The order ID of the second order
Exceptions:
It will re-throw all the exceptions that the OrderItemDelete command will throw
and specify the CSROrderItemDeleteErrorView error view command.
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class name.
NAME
public static final java.lang.String NAME