public enum InvestmentExperience extends java.lang.Enum<InvestmentExperience> implements RobinhoodEnum
Enum Constant and Description |
---|
EXTENSIVE_INVESTMENT_EXPERIENCE |
GOOD_INVESTMENT_EXPERIENCE |
LIMITED_INVESTMENT_EXPERIENCE |
NO_INVESTMENT_EXPERIENCE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Get the Robinhood API's string that corresponds to this enum
|
static InvestmentExperience |
parse(java.lang.String s)
Parse an
InvestmentExperience from a string |
java.lang.String |
toString() |
static InvestmentExperience |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvestmentExperience[] |
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, valueOf
println
public static final InvestmentExperience EXTENSIVE_INVESTMENT_EXPERIENCE
public static final InvestmentExperience GOOD_INVESTMENT_EXPERIENCE
public static final InvestmentExperience LIMITED_INVESTMENT_EXPERIENCE
public static final InvestmentExperience NO_INVESTMENT_EXPERIENCE
public static InvestmentExperience[] values()
for (InvestmentExperience c : InvestmentExperience.values()) System.out.println(c);
public static InvestmentExperience 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 InvestmentExperience parse(java.lang.String s)
InvestmentExperience
from a strings
- The String to parse fromInvestmentExperience
or nullpublic java.lang.String toString()
toString
in class java.lang.Enum<InvestmentExperience>
public java.lang.String getValue()
RobinhoodEnum
getValue
in interface RobinhoodEnum