public enum ProrationMode extends java.lang.Enum<ProrationMode>
| Enum Constant and Description |
|---|
DEFERRED
Subscription upgrade/downgrade will be triggered after current billing cycle.
|
IMMEDIATE
Subscription upgrade/downgrade will be triggered immediately.
|
| Modifier and Type | Method and Description |
|---|---|
static ProrationMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProrationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProrationMode IMMEDIATE
PurchasingService.modifySubscription(String, ProrationMode)
with this mode makes Amazon Appstore to charge customer for subscription
immediately.public static final ProrationMode DEFERRED
PurchasingService.modifySubscription(String, ProrationMode)
with this mode makes Amazon Appstore to charge customer for subscription
after current billing cycle.public static ProrationMode[] values()
for (ProrationMode c : ProrationMode.values()) System.out.println(c);
public static ProrationMode 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