Enum PaymentFrequency
- java.lang.Object
-
- java.lang.Enum<PaymentFrequency>
-
- pl.zankowski.iextrading4j.api.refdata.PaymentFrequency
-
- All Implemented Interfaces:
Serializable
,Comparable<PaymentFrequency>
public enum PaymentFrequency extends Enum<PaymentFrequency>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNUAL
IRREGULAR
MONTHLY
NOT_AVAILABLE
ONE_TIME
QUARTERLY
SEMI_ANNUAL
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PaymentFrequency
valueOf(String name)
Returns the enum constant of this type with the specified name.static PaymentFrequency[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IRREGULAR
public static final PaymentFrequency IRREGULAR
-
MONTHLY
public static final PaymentFrequency MONTHLY
-
QUARTERLY
public static final PaymentFrequency QUARTERLY
-
SEMI_ANNUAL
public static final PaymentFrequency SEMI_ANNUAL
-
ANNUAL
public static final PaymentFrequency ANNUAL
-
ONE_TIME
public static final PaymentFrequency ONE_TIME
-
NOT_AVAILABLE
public static final PaymentFrequency NOT_AVAILABLE
-
UNKNOWN
public static final PaymentFrequency UNKNOWN
-
-
Method Detail
-
values
public static PaymentFrequency[] 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 (PaymentFrequency c : PaymentFrequency.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PaymentFrequency 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
-
-