Interface AdaptyAccessLevel

Interface representing access level details of a user.

Hierarchy

  • AdaptyAccessLevel

Properties

activatedAt: Date

The date and time when the access level was activated.

activeIntroductoryOfferType?: OfferType

Type of active introductory offer, if any.

activePromotionalOfferId?: string

Identifier of the active promotional offer, if any.

activePromotionalOfferType?: OfferType

Type of the active promotional offer, if any.

android?: {
    offerId?: string;
}

Type declaration

  • Optional offerId?: string
billingIssueDetectedAt?: Date

The date and time when a billing issue was detected.

cancellationReason?: CancellationReason

The reason for the cancellation of the subscription.

expiresAt?: Date

The expiration date of the access level, if applicable.

id: string

Unique identifier of the access level configured by you in Adapty Dashboard.

isActive: boolean

Flag indicating whether the access level is currently active.

isInGracePeriod: boolean

Flag indicating whether this auto-renewable subscription is in the grace period.

isLifetime: boolean

Flag indicating whether this access level is active for a lifetime.

isRefund: boolean

Flag indicating whether this purchase was refunded.

renewedAt?: Date

The date and time when the access level was renewed.

startsAt?: Date

The start date of this access level.

The store where the purchase that unlocked this access level was made.

unsubscribedAt?: Date

The date and time when the auto-renewable subscription was cancelled.

vendorProductId: string

The identifier of the product in the store that unlocked this access level.

willRenew: boolean

Flag indicating whether this auto-renewable subscription is set to renew.

Generated using TypeDoc