public enum OrderTrigger extends java.lang.Enum<OrderTrigger> implements RobinhoodEnum
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Get the Robinhood API's string that corresponds to this enum
|
static OrderTrigger |
parse(java.lang.String s)
Parse a String for an
OrderTrigger |
java.lang.String |
toString() |
static OrderTrigger |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OrderTrigger[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfprintlnpublic static final OrderTrigger IMMEDIATE
public static final OrderTrigger STOP
public static OrderTrigger[] values()
for (OrderTrigger c : OrderTrigger.values()) System.out.println(c);
public static OrderTrigger valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static OrderTrigger parse(java.lang.String s)
OrderTriggers - The String to parseOrderTrigger or nullpublic java.lang.String getValue()
RobinhoodEnumgetValue in interface RobinhoodEnumpublic java.lang.String toString()
toString in class java.lang.Enum<OrderTrigger>