public static enum SubscriptionScheduleUpdateParams.Phase.CollectionMethod extends java.lang.Enum<SubscriptionScheduleUpdateParams.Phase.CollectionMethod> 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
.Enum Constant and Description |
---|
CHARGE_AUTOMATICALLY |
SEND_INVOICE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SubscriptionScheduleUpdateParams.Phase.CollectionMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionScheduleUpdateParams.Phase.CollectionMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="charge_automatically") public static final SubscriptionScheduleUpdateParams.Phase.CollectionMethod CHARGE_AUTOMATICALLY
@SerializedName(value="send_invoice") public static final SubscriptionScheduleUpdateParams.Phase.CollectionMethod SEND_INVOICE
public static SubscriptionScheduleUpdateParams.Phase.CollectionMethod[] values()
for (SubscriptionScheduleUpdateParams.Phase.CollectionMethod c : SubscriptionScheduleUpdateParams.Phase.CollectionMethod.values()) System.out.println(c);
public static SubscriptionScheduleUpdateParams.Phase.CollectionMethod 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