Products Google APIs for Android Reference LineItem.Role public static interface LineItem.Role Role of a line item. See Also setRole(int) getRole() Constant Summary int REGULAR Regular item. int SHIPPING Shipping cost item. int TAX Tax item. Constants public static final int REGULAR Regular item. Constant Value: 0 public static final int SHIPPING Shipping cost item. Constant Value: 2 public static final int TAX Tax item. Constant Value: 1 Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated August 14, 2017.