public enum PricingSide extends Enum<PricingSide>
The pricing side as requested by the frontend.
Generally for RFS trades, the frontend will wish to see a two way price. If they are not permissioned or opt to choose a side before they request a price, this enum will indicate the side that was requested.
Enum Constant and Description |
---|
BUY
The client wishes to receive an ASK price only as they are interested in
buying.
|
SELL
The client wishes to receive a BID price only as they are interested in
selling.
|
TWO_WAY
The client is interested in seeing both sides of the quote.
|
Modifier and Type | Method and Description |
---|---|
static PricingSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PricingSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PricingSide BUY
public static final PricingSide SELL
public static final PricingSide TWO_WAY
public static PricingSide[] values()
for (PricingSide c : PricingSide.values()) System.out.println(c);
public static PricingSide 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 © 2015 Caplin Systems.