Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- addOffer(Offer) - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
- addStoreParam(String, Object) - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
-
Adds a parameter for a store.
B
- build() - Method in class com.badlogic.gdx.pay.Information.Builder
C
- com.badlogic.gdx.pay - package com.badlogic.gdx.pay
- CONSUMABLE - Enum constant in enum class com.badlogic.gdx.pay.OfferType
-
A consumable can be purchased multiple times and diminishes once used (e.g.
D
- DAY - Enum constant in enum class com.badlogic.gdx.pay.FreeTrialPeriod.PeriodUnit
E
- ENTITLEMENT - Enum constant in enum class com.badlogic.gdx.pay.OfferType
-
An entitlement can only be purchased once (e.g.
- equals(Object) - Method in class com.badlogic.gdx.pay.FreeTrialPeriod
- equals(Object) - Method in class com.badlogic.gdx.pay.Information
F
- freeTrialPeriod(FreeTrialPeriod) - Method in class com.badlogic.gdx.pay.Information.Builder
- FreeTrialPeriod - Class in com.badlogic.gdx.pay
-
Free trial support for subscriptions.
- FreeTrialPeriod(int, FreeTrialPeriod.PeriodUnit) - Constructor for class com.badlogic.gdx.pay.FreeTrialPeriod
- FreeTrialPeriod.PeriodUnit - Enum Class in com.badlogic.gdx.pay
G
- getFreeTrialPeriod() - Method in class com.badlogic.gdx.pay.Information
- getIdentifier() - Method in class com.badlogic.gdx.pay.Offer
- getIdentifier() - Method in class com.badlogic.gdx.pay.Transaction
-
The item identifier/SKU that matches our item id in the IAP service.
- getIdentifierForStore(String) - Method in class com.badlogic.gdx.pay.Offer
- getIdentifierForStores() - Method in class com.badlogic.gdx.pay.Offer
- getLocalDescription() - Method in class com.badlogic.gdx.pay.Information
-
Returns the localized product description or null if not available (PurchaseManager-dependent).
- getLocalName() - Method in class com.badlogic.gdx.pay.Information
-
Returns the localized product name or null if not available (PurchaseManager-dependent).
- getLocalPricing() - Method in class com.badlogic.gdx.pay.Information
-
Returns the localized product price or null if not available (PurchaseManager-dependent).
- getNumberOfUnits() - Method in class com.badlogic.gdx.pay.FreeTrialPeriod
- getOffer(int) - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
- getOffer(String) - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
- getOfferCount() - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
- getOfferForStore(String, String) - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
- getOrderId() - Method in class com.badlogic.gdx.pay.Transaction
-
The original transaction identifier which is unique for each purchase (doesn't change).
- getPriceAsDouble() - Method in class com.badlogic.gdx.pay.Information
-
Price (as a double).
- getPriceCurrencyCode() - Method in class com.badlogic.gdx.pay.Information
-
Price currency code.
- getPriceInCents() - Method in class com.badlogic.gdx.pay.Information
-
Deprecated.
- getPurchaseCost() - Method in class com.badlogic.gdx.pay.Transaction
-
How much was originally charged in the lowest denomination (or 0 for unknown).
- getPurchaseCostCurrency() - Method in class com.badlogic.gdx.pay.Transaction
-
The ISO 4217 currency code for price (or null for unknown).
- getPurchaseText() - Method in class com.badlogic.gdx.pay.Transaction
-
The title/info for the purchase (or null for unknown).
- getPurchaseTime() - Method in class com.badlogic.gdx.pay.Transaction
-
The original purchase time in milliseconds since the epoch (Jan 1, 1970).
- getRequestId() - Method in class com.badlogic.gdx.pay.Transaction
-
The original request identifier which is unique for each request (doesn't change).
- getReversalText() - Method in class com.badlogic.gdx.pay.Transaction
-
The title/info for the refund (or null for unknown).
- getReversalTime() - Method in class com.badlogic.gdx.pay.Transaction
-
The original refund/cancellation time in milliseconds since the epoch (Jan 1, 1970) or null for non-refunded.
- getStoreName() - Method in class com.badlogic.gdx.pay.Transaction
-
Returns one of the store names as defined in PurchaseManagerConfig.
- getStoreParam(String) - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
-
Returns parameters for a store.
- getTransactionData() - Method in class com.badlogic.gdx.pay.Transaction
- getTransactionDataSignature() - Method in class com.badlogic.gdx.pay.Transaction
-
The original data string from the purchase (or null for unknown).
- getType() - Method in class com.badlogic.gdx.pay.Offer
- getUnit() - Method in class com.badlogic.gdx.pay.FreeTrialPeriod
- getUserId() - Method in class com.badlogic.gdx.pay.Transaction
-
The user identifier which is unique for each request / purchase (doesn't change).
H
- hasAnyOfferWithType(OfferType) - Method in class com.badlogic.gdx.pay.PurchaseManagerConfig
- hashCode() - Method in class com.badlogic.gdx.pay.FreeTrialPeriod
- hashCode() - Method in class com.badlogic.gdx.pay.Information
I
- Information - Class in com.badlogic.gdx.pay
-
Information about a product that can be purchased provided by a purchase manager.
- Information(String, String, String) - Constructor for class com.badlogic.gdx.pay.Information
- Information.Builder - Class in com.badlogic.gdx.pay
- isPurchased() - Method in class com.badlogic.gdx.pay.Transaction
-
Returns true if the order is considered valid, i.e.
L
- localDescription(String) - Method in class com.badlogic.gdx.pay.Information.Builder
- localName(String) - Method in class com.badlogic.gdx.pay.Information.Builder
- localPricing(String) - Method in class com.badlogic.gdx.pay.Information.Builder
M
- MONTH - Enum constant in enum class com.badlogic.gdx.pay.FreeTrialPeriod.PeriodUnit
N
- newBuilder() - Static method in class com.badlogic.gdx.pay.Information
O
- Offer - Class in com.badlogic.gdx.pay
-
A product offer that can be purchased.
- Offer() - Constructor for class com.badlogic.gdx.pay.Offer
- OfferType - Enum Class in com.badlogic.gdx.pay
-
An offer type for a product that can be purchased.
P
- parse(char) - Static method in enum class com.badlogic.gdx.pay.FreeTrialPeriod.PeriodUnit
- priceAsDouble(Double) - Method in class com.badlogic.gdx.pay.Information.Builder
- priceCurrencyCode(String) - Method in class com.badlogic.gdx.pay.Information.Builder
- priceInCents(Integer) - Method in class com.badlogic.gdx.pay.Information.Builder
-
Deprecated.Not all currencies use cents. Currencies with no or more than 2 fractional digits exist. Use
Information.Builder.priceAsDouble(Double)instead. - PurchaseManagerConfig - Class in com.badlogic.gdx.pay
-
This configuration is set in your "core"-project and will be passed on to the active InApp store automatically.
- PurchaseManagerConfig() - Constructor for class com.badlogic.gdx.pay.PurchaseManagerConfig
- putIdentifierForStore(String, String) - Method in class com.badlogic.gdx.pay.Offer
R
- REVERSAL_TEXT_CANCELLED - Static variable in class com.badlogic.gdx.pay.Transaction
- REVERSAL_TEXT_REFUNDED - Static variable in class com.badlogic.gdx.pay.Transaction
S
- setIdentifier(String) - Method in class com.badlogic.gdx.pay.Offer
- setIdentifier(String) - Method in class com.badlogic.gdx.pay.Transaction
- setOrderId(String) - Method in class com.badlogic.gdx.pay.Transaction
- setPurchaseCost(int) - Method in class com.badlogic.gdx.pay.Transaction
- setPurchaseCostCurrency(String) - Method in class com.badlogic.gdx.pay.Transaction
- setPurchaseText(String) - Method in class com.badlogic.gdx.pay.Transaction
- setPurchaseTime(Date) - Method in class com.badlogic.gdx.pay.Transaction
- setRequestId(String) - Method in class com.badlogic.gdx.pay.Transaction
- setReversalText(String) - Method in class com.badlogic.gdx.pay.Transaction
- setReversalTime(Date) - Method in class com.badlogic.gdx.pay.Transaction
- setStoreName(String) - Method in class com.badlogic.gdx.pay.Transaction
- setTransactionData(String) - Method in class com.badlogic.gdx.pay.Transaction
- setTransactionDataSignature(String) - Method in class com.badlogic.gdx.pay.Transaction
-
A signature for the purchase data string for validation of the data (or null for unknown).
- setType(OfferType) - Method in class com.badlogic.gdx.pay.Offer
- setUserId(String) - Method in class com.badlogic.gdx.pay.Transaction
- STORE_NAME_ANDROID_AMAZON - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_APPLAND - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_APTOIDE - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_GOOGLE - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_HUAWEI - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_NOKIA - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_SAMSUNG - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_SLIDEME - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_ANDROID_YANDEX - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_DESKTOP_APPLE - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_DESKTOP_STEAM - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_DESKTOP_WINDOWS - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_GWT_GOOGLEWALLET - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- STORE_NAME_IOS_APPLE - Static variable in class com.badlogic.gdx.pay.PurchaseManagerConfig
- SUBSCRIPTION - Enum constant in enum class com.badlogic.gdx.pay.OfferType
-
Subscriptions are entitlements that are bound by a period of time, but renew automatically at the end of the time period.
T
- toString() - Method in class com.badlogic.gdx.pay.Information
- toString() - Method in class com.badlogic.gdx.pay.Offer
- toString() - Method in class com.badlogic.gdx.pay.Transaction
- Transaction - Class in com.badlogic.gdx.pay
-
An transaction for an item purchased via libGDX In-App payment system (IAP).
- Transaction() - Constructor for class com.badlogic.gdx.pay.Transaction
U
- UNAVAILABLE - Static variable in class com.badlogic.gdx.pay.Information
-
The information returned if a purchase manager does not support information.
V
- valueOf(String) - Static method in enum class com.badlogic.gdx.pay.FreeTrialPeriod.PeriodUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.badlogic.gdx.pay.OfferType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.badlogic.gdx.pay.FreeTrialPeriod.PeriodUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.badlogic.gdx.pay.OfferType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WEEK - Enum constant in enum class com.badlogic.gdx.pay.FreeTrialPeriod.PeriodUnit
Y
- YEAR - Enum constant in enum class com.badlogic.gdx.pay.FreeTrialPeriod.PeriodUnit
All Classes and Interfaces|All Packages|Constant Field Values
Information.getPriceAsDouble()instead.