public static enum Price.EnumPriceType extends Enum<Price.EnumPriceType>
| Enum Constant and Description |
|---|
Discount |
Markup |
Product |
Subtotal |
Tax |
TotalGross |
TotalNet |
TotalTax |
| Modifier and Type | Method and Description |
|---|---|
static Price.EnumPriceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Price.EnumPriceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Price.EnumPriceType Discount
public static final Price.EnumPriceType Markup
public static final Price.EnumPriceType Product
public static final Price.EnumPriceType Subtotal
public static final Price.EnumPriceType Tax
public static final Price.EnumPriceType TotalGross
public static final Price.EnumPriceType TotalNet
public static final Price.EnumPriceType TotalTax
public static Price.EnumPriceType[] values()
for (Price.EnumPriceType c : Price.EnumPriceType.values()) System.out.println(c);
public static Price.EnumPriceType 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 nullCopyright © 2014. All Rights Reserved.