com.ibm.commerce.tools.optools.order.commands
Interface CSROrderItemUpdateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable, ToolsControllerCommand
- All Known Implementing Classes:
- CSROrderItemUpdateCmdImpl
- public interface CSROrderItemUpdateCmd
- extends ToolsControllerCommand
Updates one or more order items in an order.
URL calling syntax:
Https://host_name/path/CSROrderItemUpdate?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>
<firstOrder>
<id>20001</id>
</firstOrder>
<secondOrder>
<id>20002</id>
<secondOrder>
</order>
<orderItem>
<orderItemId>10001</orderItemId>
<tradingId>1.0</tradingId>
<quantity>1.0</quantity>
<shipAddrId>10001</shipAddrId>
<shipModeId>30001</shipModeId>
<orderId>10001</orderId>
</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 OrderItemUpdate command will throw
and specify the CSROrderItemUpdateErrorView 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