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

Interface CSROrderItemDeleteCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, ToolsControllerCommand
    All Known Implementing Classes:
    CSROrderItemDeleteCmdImpl


    public interface CSROrderItemDeleteCmd
    extends ToolsControllerCommand
    Deletes one or more order items from an order.

    Behavior

    • Deletes items from the first or second order and returns the firstOrderId and secondOrderId specified in the xml_string

    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.

    Response Parameter:

    firstOrderId
    The order ID of the first order.
    secondOrderId
    The order ID of the second order.

    Exception Conditions

    Throws all exceptions that thrown by OrderItemDeleteCmd.

    Error View:

    • CSROrderItemDeleteErrorView
    • Field Detail

      • COPYRIGHT

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

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