Package com.badlogic.gdx.pay
Enum Class OfferType
- All Implemented Interfaces:
Serializable,Comparable<OfferType>,Constable
An offer type for a product that can be purchased.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA consumable can be purchased multiple times and diminishes once used (e.g.An entitlement can only be purchased once (e.g.Subscriptions are entitlements that are bound by a period of time, but renew automatically at the end of the time period. -
Method Summary
-
Enum Constant Details
-
CONSUMABLE
A consumable can be purchased multiple times and diminishes once used (e.g. virtual money, coins). -
ENTITLEMENT
An entitlement can only be purchased once (e.g. one time upgrade). Basically a non-consumable. -
SUBSCRIPTION
Subscriptions are entitlements that are bound by a period of time, but renew automatically at the end of the time period.
-
-
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
-