CustomerInfo
Class containing all information regarding the customer
Functions
Get the expiration date for a given entitlement identifier.
Get the expiration date for a given productId
Get the latest purchase or renewal date for a given entitlement identifier.
Get the latest purchase or renewal date for given productId
Properties
Map of productIds to expiration dates For Google subscriptions, productIds are subscriptionId:basePlanId For Amazon subscriptions, productsIds are termSkus
Map of productIds to purchase dates For Google subscriptions, productIds are subscriptionId:basePlanId For Google and Amazon INAPPs, productsIds are simply productId. For Amazon subscriptions, productsIds are termSkus
Entitlements attached to this customer info
URL to manage the active subscription of the user. If this user has an active iOS subscription, this will point to the App Store, if the user has an active Play Store subscription it will point there. If there are no active subscriptions it will be null. If there are multiple for different platforms, it will point to the Play Store
The original App User Id recorded for this user.
the purchase date for the version of the application when the user bought the app. Use this for grandfathering users when migrating to subscriptions. This can be null, see -Purchases.restorePurchases
The underlying data.
Date when this info was requested