public enum PriceMethod extends Enum<PriceMethod>
Enum Constant and Description |
---|
CURRENCY_AMOUNT |
PERCENT_MARGIN_OF_CURRENT_COST |
PERCENT_MARGIN_OF_STANDARD_COST |
PERCENT_MARKUP_OF_CURRENT_COST |
PERCENT_MARKUP_OF_STANDARD_COST |
PERCENT_OF_LIST_PRICE |
Modifier and Type | Method and Description |
---|---|
static PriceMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PriceMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PriceMethod CURRENCY_AMOUNT
public static final PriceMethod PERCENT_OF_LIST_PRICE
public static final PriceMethod PERCENT_MARKUP_OF_CURRENT_COST
public static final PriceMethod PERCENT_MARKUP_OF_STANDARD_COST
public static final PriceMethod PERCENT_MARGIN_OF_CURRENT_COST
public static final PriceMethod PERCENT_MARGIN_OF_STANDARD_COST
public static PriceMethod[] values()
for (PriceMethod c : PriceMethod.values()) System.out.println(c);
public static PriceMethod 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 © 2010–2016. All rights reserved.