Describes an object that represents a user profile, including subscriptions and consumables.

Hierarchy

  • AdaptyProfile

Properties

accessLevels?: Record<string, AdaptyAccessLevel>

The keys are access level identifiers configured by you in Adapty Dashboard. The values can be null if the customer has no access levels.

customAttributes: Partial<AdaptyProfileParameters>

Previously set user custom attributes with updateProfile method.

customerUserId?: string

An identifier of a user in your system.

nonSubscriptions?: Record<string, AdaptyNonSubscription[]>

The keys are product ids from the store. The values are arrays of information about consumables. Can be null if the customer has no purchases.

profileId: string

An identifier of a user in Adapty.

subscriptions?: Record<string, AdaptySubscription>

The keys are product ids from a store. The values are information about subscriptions. Can be null if the customer has no subscriptions.

Generated using TypeDoc