Enum DividendTypeId
- java.lang.Object
-
- java.lang.Enum<DividendTypeId>
-
- pl.zankowski.iextrading4j.api.refdata.DividendTypeId
-
- All Implemented Interfaces:
Serializable
,Comparable<DividendTypeId>
public enum DividendTypeId extends Enum<DividendTypeId>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CASH_DIVIDEND
CASH_STOCK_DIVIDEND
FORWARD_SPLIT
OTHER
REVERSE_SPLIT
RIGHTS_DISTRIBUTION
SPECIAL_DIVIDEND
SPIN_OFF
STOCK_DIVIDEND
STOCK_DIVIDEND_PAYABLE_IN_ANOTHER_COMPANY
UNKNOWN
WARRANTS_DISTRIBUTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DividendTypeId
valueOf(String name)
Returns the enum constant of this type with the specified name.static DividendTypeId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOCK_DIVIDEND_PAYABLE_IN_ANOTHER_COMPANY
public static final DividendTypeId STOCK_DIVIDEND_PAYABLE_IN_ANOTHER_COMPANY
-
CASH_STOCK_DIVIDEND
public static final DividendTypeId CASH_STOCK_DIVIDEND
-
FORWARD_SPLIT
public static final DividendTypeId FORWARD_SPLIT
-
REVERSE_SPLIT
public static final DividendTypeId REVERSE_SPLIT
-
SPECIAL_DIVIDEND
public static final DividendTypeId SPECIAL_DIVIDEND
-
SPIN_OFF
public static final DividendTypeId SPIN_OFF
-
CASH_DIVIDEND
public static final DividendTypeId CASH_DIVIDEND
-
RIGHTS_DISTRIBUTION
public static final DividendTypeId RIGHTS_DISTRIBUTION
-
STOCK_DIVIDEND
public static final DividendTypeId STOCK_DIVIDEND
-
WARRANTS_DISTRIBUTION
public static final DividendTypeId WARRANTS_DISTRIBUTION
-
OTHER
public static final DividendTypeId OTHER
-
UNKNOWN
public static final DividendTypeId UNKNOWN
-
-
Method Detail
-
values
public static DividendTypeId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DividendTypeId c : DividendTypeId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DividendTypeId valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-