public static enum SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage extends java.lang.Enum<SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage> implements ApiRequestParams.EnumParam
Enum Constant and Description |
---|
LAST_DURING_PERIOD |
LAST_EVER |
MAX |
SUM |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="last_during_period") public static final SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage LAST_DURING_PERIOD
@SerializedName(value="last_ever") public static final SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage LAST_EVER
@SerializedName(value="max") public static final SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage MAX
@SerializedName(value="sum") public static final SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage SUM
public static SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage[] values()
for (SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage c : SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage.values()) System.out.println(c);
public static SubscriptionScheduleCreateParams.Phase.Plan.PriceData.Recurring.AggregateUsage 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 java.lang.String getValue()
getValue
in interface ApiRequestParams.EnumParam