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.

	URL calling syntax:
		Https://host_name/path/CSROrderItemAdd?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>
					<billingAddressId>1001</billingAddressId>
					<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.

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

	Exceptions:
		It will re-throw all the exceptions that the OrderItemAdd command will throw
		and specify the CSROrderItemAddErrorView error view command.
 


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
          The default implementation class.
static java.lang.String NAME
           
 
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.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class.

NAME

public static final java.lang.String NAME