-
public final class PendingPurchaseUpdateAndroidPending purchase update for subscription upgrades/downgrades (Android) When a user initiates a subscription change (upgrade/downgrade), the new purchase may be pending until the current billing period ends. This type contains the details of the pending change. Available in Google Play Billing Library 5.0+
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPendingPurchaseUpdateAndroid.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<String>productsprivate final StringpurchaseToken
-
Constructor Summary
Constructors Constructor Description PendingPurchaseUpdateAndroid(List<String> products, String purchaseToken)
-
Method Summary
Modifier and Type Method Description final List<String>getProducts()Product IDs for the pending purchase update. final StringgetPurchaseToken()Purchase token for the pending transaction. final Map<String, Object>toJson()-
-
Method Detail
-
getProducts
final List<String> getProducts()
Product IDs for the pending purchase update. These are the new products the user is switching to.
-
getPurchaseToken
final String getPurchaseToken()
Purchase token for the pending transaction. Use this token to track or manage the pending purchase update.
-
-
-
-