Hierarchy

  • CustomerInfo

Properties

activeSubscriptions: string[]

Set of active subscription skus

allExpirationDates: {
    [key: string]: string | null;
}

Map of skus to expiration dates

Type declaration

  • [key: string]: string | null
allPurchaseDates: {
    [key: string]: string | null;
}

Map of skus to purchase dates

Type declaration

  • [key: string]: string | null
allPurchasedProductIdentifiers: string[]

Set of purchased skus, active and inactive

Entitlements attached to this customer info

firstSeen: string

The date this user was first seen in RevenueCat.

latestExpirationDate: null | string

The latest expiration date of all purchased skus

managementURL: null | string

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 device store.

nonSubscriptionTransactions: PurchasesStoreTransaction[]
originalAppUserId: string

The original App User Id recorded for this user.

originalApplicationVersion: null | string

Returns the version number for the version of the application when the user bought the app. Use this for grandfathering users when migrating to subscriptions.

This corresponds to the value of CFBundleVersion (in iOS) in the Info.plist file when the purchase was originally made. This is always null in Android

originalPurchaseDate: null | string

Returns the purchase date for the version of the application when the user bought the app. Use this for grandfathering users when migrating to subscriptions.

requestDate: string

Date when this info was requested

Generated using TypeDoc