public enum FulfillmentResult extends java.lang.Enum<FulfillmentResult>
PurchasingService.notifyFulfillment(String, FulfillmentResult)
.Enum Constant and Description |
---|
FULFILLED
App successfully fulfilled the purchase.
|
UNAVAILABLE
Purchase can never be fulfilled by the app.
|
Modifier and Type | Method and Description |
---|---|
static FulfillmentResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FulfillmentResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FulfillmentResult FULFILLED
PurchasingService.notifyFulfillment(String, FulfillmentResult)
with this status forces the Amazon Appstore to mark this purchase as
successfully completed.public static final FulfillmentResult UNAVAILABLE
PurchasingService.notifyFulfillment(String, FulfillmentResult)
with this status forces the Amazon Appstore to cancel the purchase.public static FulfillmentResult[] values()
for (FulfillmentResult c : FulfillmentResult.values()) System.out.println(c);
public static FulfillmentResult 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