public enum PriceType extends Enum<PriceType>
| Enum Constant and Description |
|---|
FINAL
Final price (final settlement price).
|
INDICATIVE
Indicative price (derived via math formula).
|
PRELIMINARY
Preliminary price (preliminary settlement price), usually posted prior to
FINAL price. |
REGULAR
Regular price.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Returns integer code that is used in flag bits.
|
static PriceType |
valueOf(int code)
Returns price type by integer code bit pattern.
|
static PriceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PriceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PriceType REGULAR
public static final PriceType INDICATIVE
public static final PriceType PRELIMINARY
FINAL price.public static final PriceType FINAL
public static PriceType[] values()
for (PriceType c : PriceType.values()) System.out.println(c);
public static PriceType 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 static PriceType valueOf(int code)
code - integer code.ArrayIndexOutOfBoundsException - if code is invalid.public int getCode()
Copyright © 2002–2022 Devexperts LLC. All rights reserved.