void deleteItem(int itemNumber)

itemNumber is the index of an item in the order. The method deletes that item. For example, if ox is a Java variable of type OrderXml:

ox.deleteItem(2);