public enum SourceOfFunds extends java.lang.Enum<SourceOfFunds> implements RobinhoodEnum
Enum Constant and Description |
---|
GIFT |
INHERITANCE |
INSURANCE_PAYOUT |
OTHER |
PENSION_RETIREMENT |
SALE_BUSINESS_OR_PROPERTY |
SAVINGS_PERSONAL_INCOME |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Get the Robinhood API's string that corresponds to this enum
|
static SourceOfFunds |
parse(java.lang.String s)
Parse a
SourceOfFunds from a String |
java.lang.String |
toString() |
static SourceOfFunds |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceOfFunds[] |
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 SourceOfFunds SAVINGS_PERSONAL_INCOME
public static final SourceOfFunds PENSION_RETIREMENT
public static final SourceOfFunds INSURANCE_PAYOUT
public static final SourceOfFunds INHERITANCE
public static final SourceOfFunds GIFT
public static final SourceOfFunds SALE_BUSINESS_OR_PROPERTY
public static final SourceOfFunds OTHER
public static SourceOfFunds[] values()
for (SourceOfFunds c : SourceOfFunds.values()) System.out.println(c);
public static SourceOfFunds 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 SourceOfFunds parse(java.lang.String s)
SourceOfFunds
from a Strings
- The String to parse fromSourceOfFunds
or nullpublic java.lang.String toString()
toString
in class java.lang.Enum<SourceOfFunds>
public java.lang.String getValue()
RobinhoodEnum
getValue
in interface RobinhoodEnum