AdaptyProfile
class AdaptyProfile(val profileId: String, val customerUserId: String?, val accessLevels: ImmutableMap<String, AdaptyProfile.AccessLevel>, val subscriptions: ImmutableMap<String, AdaptyProfile.Subscription>, val nonSubscriptions: ImmutableMap<String, ImmutableList<AdaptyProfile.NonSubscription>>, val customAttributes: ImmutableMap<String, Any>)
Constructors
Link copied to clipboard
fun AdaptyProfile(profileId: String, customerUserId: String?, accessLevels: ImmutableMap<String, AdaptyProfile.AccessLevel>, subscriptions: ImmutableMap<String, AdaptyProfile.Subscription>, nonSubscriptions: ImmutableMap<String, ImmutableList<AdaptyProfile.NonSubscription>>, customAttributes: ImmutableMap<String, Any>)
Types
Link copied to clipboard
class AccessLevel(val id: String, val isActive: Boolean, val vendorProductId: String, val offerId: String?, val store: String, val activatedAt: String, val startsAt: String?, val renewedAt: String?, val expiresAt: String?, val isLifetime: Boolean, val cancellationReason: String?, val isRefund: Boolean, val activeIntroductoryOfferType: String?, val activePromotionalOfferType: String?, val activePromotionalOfferId: String?, val willRenew: Boolean, val isInGracePeriod: Boolean, val unsubscribedAt: String?, val billingIssueDetectedAt: String?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class Subscription(val isActive: Boolean, val vendorProductId: String, val vendorTransactionId: String?, val vendorOriginalTransactionId: String?, val offerId: String?, val store: String, val activatedAt: String, val renewedAt: String?, val expiresAt: String?, val startsAt: String?, val isLifetime: Boolean, val activeIntroductoryOfferType: String?, val activePromotionalOfferType: String?, val activePromotionalOfferId: String?, val willRenew: Boolean, val isInGracePeriod: Boolean, val unsubscribedAt: String?, val billingIssueDetectedAt: String?, val isSandbox: Boolean, val isRefund: Boolean, val cancellationReason: String?)
Functions
Properties
Link copied to clipboard
Previously set user custom attributes with .updateProfile method.
Link copied to clipboard