public static enum Subscription.IntervalUnit extends java.lang.Enum<Subscription.IntervalUnit>
Modifier and Type | Method and Description |
---|---|
static Subscription.IntervalUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.IntervalUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="weekly") public static final Subscription.IntervalUnit WEEKLY
@SerializedName(value="monthly") public static final Subscription.IntervalUnit MONTHLY
@SerializedName(value="yearly") public static final Subscription.IntervalUnit YEARLY
public static Subscription.IntervalUnit[] values()
for (Subscription.IntervalUnit c : Subscription.IntervalUnit.values()) System.out.println(c);
public static Subscription.IntervalUnit 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 null