public enum ItemTypeEnum extends Enum<ItemTypeEnum>
Java class for ItemTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ItemTypeEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Assembly"/> <enumeration value="Category"/> <enumeration value="Fixed Asset"/> <enumeration value="Group"/> <enumeration value="Inventory"/> <enumeration value="NonInventory"/> <enumeration value="Other Charge"/> <enumeration value="Payment"/> <enumeration value="Service"/> <enumeration value="Subtotal"/> <enumeration value="Discount"/> <enumeration value="Tax"/> <enumeration value="Tax Group"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ASSEMBLY |
CATEGORY |
DISCOUNT |
FIXED_ASSET |
GROUP |
INVENTORY |
NON_INVENTORY |
OTHER_CHARGE |
PAYMENT |
SERVICE |
SUBTOTAL |
TAX |
TAX_GROUP |
Modifier and Type | Method and Description |
---|---|
static ItemTypeEnum |
fromValue(String v) |
String |
value() |
static ItemTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemTypeEnum ASSEMBLY
public static final ItemTypeEnum CATEGORY
public static final ItemTypeEnum FIXED_ASSET
public static final ItemTypeEnum GROUP
public static final ItemTypeEnum INVENTORY
public static final ItemTypeEnum NON_INVENTORY
public static final ItemTypeEnum OTHER_CHARGE
public static final ItemTypeEnum PAYMENT
public static final ItemTypeEnum SERVICE
public static final ItemTypeEnum SUBTOTAL
public static final ItemTypeEnum DISCOUNT
public static final ItemTypeEnum TAX
public static final ItemTypeEnum TAX_GROUP
public static ItemTypeEnum[] values()
for (ItemTypeEnum c : ItemTypeEnum.values()) System.out.println(c);
public static ItemTypeEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
public static ItemTypeEnum fromValue(String v)
Copyright © 2017. All rights reserved.