com.ibm.commerce.tools.optools.order.commands
Interface CSROrderItemAddCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
All Known Implementing Classes:
CSROrderItemAddCmdImpl

public interface CSROrderItemAddCmd
extends ToolsControllerCommand

Adds one or more order items to an order.

Behavior

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>
  <orderId>10001</orderId>
 </order>
 <orderItem>
  <catentryId>1003</catentryId>
  <quantity>1.0</quantity>
  <shipModeId>30001</shipModeId>
  <tradingId>1.0</tradingId>
  <shipAddrId>30001</shipAddrId>
 </orderItem>
 </xml> 
 
URL
The URL to be called when the command completes successfully.

Response Parameter:

orderId
Return the order Id of the order item(s) added to.

Exception Conditions

Throws all exceptions that thrown by OrderItemAddCmd and CSROrderStatusChangeCmd.

Error View:


Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
static java.lang.String defaultCommandClassName
The default implementation class.
static java.lang.String NAME
The name of this command.
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
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

COPYRIGHT

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

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class.
See Also:
Constant Field Values

Feedback