CustomerInfo
Class containing all information regarding the customer.
Constructors
Properties
Set of active subscription productIds.
Map of productIds to expiration dates in milliseconds since the Unix epoch.
Map of productIds to purchase dates in milliseconds since the Unix epoch.
Set of purchased productIds, active and inactive.
Entitlements attached to this customer info.
The date this user was first seen in RevenueCat in milliseconds since the Unix epoch.
The latest expiration date of all purchased productIds in milliseconds since the Unix epoch.
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 on Android, and to the App Store on iOS.
List of all non subscription transactions. Use this to fetch the history of non-subscription purchases.
App Store only. The build number (in iOS) or the marketing version (in macOS) for the version of the application when the user bought the app. This corresponds to the value of CFBundleVersion
(in iOS) or CFBundleShortVersionString
(in macOS) in the Info.plist
file when the purchase was originally made. Use this for grandfathering users when migrating to subscriptions.
The original app User Id recorded for this user.
The purchase date in milliseconds since the Unix epoch 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.
Date when this info was requested in milliseconds since the Unix epoch.