itemNumber is the index of an item in the order. elementName is “ItemId,” “ItemName,” or “Quantity.” The method returns the text of the item. For example, if ox is a Java variable of type OrderXml:
String itemId = ox.getItemElement(2, “ItemId”); String itemName = ox.getItemElement(2, “ItemName”); String quantity = ox.getItemElement(2, “Quantity”);