Interface CSROrderRollBackCmd

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

    public interface CSROrderRollBackCmd
    extends ToolsControllerCommand
    Rollback all the changes to the order based on the information in the backup order.


    • Changes the first order so that it will contain the same order items as those order items in the backup order. Sets the shipping charge and menu adjustment of the first order as those values provided by the XML.
    • Re-process the first order.
    • If the second order exists, it will be canceled.
    • Deletes the backup order


    An input xml_string that contains the details of the order which has changes need to be rolled back.
     Example xml_string:
            <?xml version="1.0" encoding "UTF-8">
                            <customerId>              20000   </customerId>
                            <billingAddressId>        1000    </billingAddressId>
                                    <id>              10001   </id>
                                    <id>              10002   </id>
                                    <id>              10002   </id>
    The URL to be called when the command completes successfully.

    Response Parameter:


    Exception Conditions

    It throws all the exceptions thrown by OrderItemAdd, OrderItemUpdate, OrderItemDelete, OrderPrepare, OrderProcess, OrderProcess, CSROrderCancel and DoCancel commands will throw.

    Error View:

    • CSROrderRollBackErrorView
    • Field Detail


        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.
        See Also:
        Constant Field Values