Package com.apple.itunes.storekit.model
Enum Class ConsumptionStatus
- All Implemented Interfaces:
Serializable
,Comparable<ConsumptionStatus>
,Constable
A value that indicates the extent to which the customer consumed the in-app purchase.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConsumptionStatus
getValue()
toString()
static ConsumptionStatus
Returns the enum constant of this class with the specified name.static ConsumptionStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNDECLARED
-
NOT_CONSUMED
-
PARTIALLY_CONSUMED
-
FULLY_CONSUMED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
-
getValue
-
toString
- Overrides:
toString
in classEnum<ConsumptionStatus>
-