public enum TradeRequestResult extends Enum<TradeRequestResult>
Enum Constant and Description |
---|
InvalidOrUnknownInstrument
Invalid or unknown instrument.
|
InvalidParties
Invalid parties.
|
InvalidTypeOfTradeRequested
Invalid type of trade requested.
|
None
Default value, not for use
|
Other
Other.
|
Successful
Successful.
|
UnauthorizedForTradeCaptureReportRequest
Unauthorized for Trade Capture Report Request.
|
Modifier and Type | Method and Description |
---|---|
static TradeRequestResult |
forValue(int value)
Returns enum value for the int representation
|
int |
getValue()
Gets current value.
|
static TradeRequestResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TradeRequestResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TradeRequestResult None
public static final TradeRequestResult Successful
public static final TradeRequestResult InvalidOrUnknownInstrument
public static final TradeRequestResult InvalidTypeOfTradeRequested
public static final TradeRequestResult InvalidParties
public static final TradeRequestResult UnauthorizedForTradeCaptureReportRequest
public static final TradeRequestResult Other
public static TradeRequestResult[] values()
for (TradeRequestResult c : TradeRequestResult.values()) System.out.println(c);
public static TradeRequestResult 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 int getValue()
public static TradeRequestResult forValue(int value)
value
- valueCopyright © 2014–2025 Onix Solutions. All rights reserved.