public static enum InvoiceUpcomingParams.SubscriptionBillingCycleAnchor extends java.lang.Enum<InvoiceUpcomingParams.SubscriptionBillingCycleAnchor> implements ApiRequestParams.EnumParam
metered
or licensed
. licensed
automatically bills the quantity
set when adding it to a subscription. metered
aggregates the total usage based
on usage records. Defaults to licensed
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static InvoiceUpcomingParams.SubscriptionBillingCycleAnchor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InvoiceUpcomingParams.SubscriptionBillingCycleAnchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="now") public static final InvoiceUpcomingParams.SubscriptionBillingCycleAnchor NOW
@SerializedName(value="unchanged") public static final InvoiceUpcomingParams.SubscriptionBillingCycleAnchor UNCHANGED
public static InvoiceUpcomingParams.SubscriptionBillingCycleAnchor[] values()
for (InvoiceUpcomingParams.SubscriptionBillingCycleAnchor c : InvoiceUpcomingParams.SubscriptionBillingCycleAnchor.values()) System.out.println(c);
public static InvoiceUpcomingParams.SubscriptionBillingCycleAnchor 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