|
AdaptySDK
|
Public Member Functions | |
| override string | ToString () |
Public Attributes | |
| readonly string | Id |
| Unique identifier of the access level configured by you in Adapty Dashboard. | |
| readonly bool | IsActive |
| Whether the access level is active. | |
| readonly string | VendorProductId |
| The identifier of the product in the App Store Connect that unlocked this access level. | |
| readonly string | Store |
| The store of the purchase that unlocked this access level. | |
| readonly DateTime | ActivatedAt |
| The time when the access level was activated. | |
| readonly? DateTime | RenewedAt |
| The time when the access level was renewed. | |
| readonly? DateTime | ExpiresAt |
| The time when the access level will expire (could be in the past and could be null for lifetime access). | |
| readonly bool | IsLifetime |
| Whether the access level is active for a lifetime (no expiration date). | |
| readonly string | ActiveIntroductoryOfferType |
| The type of active introductory offer. | |
| readonly string | ActivePromotionalOfferType |
| The type of active promotional offer. | |
| readonly string | ActivePromotionalOfferId |
| An identifier of active promotional offer. | |
| readonly string | OfferId |
| readonly bool | WillRenew |
| Whether the auto-renewable subscription is set to renew. | |
| readonly bool | IsInGracePeriod |
| Whether the auto-renewable subscription is in the grace period. | |
| readonly? DateTime | UnsubscribedAt |
| The time when the auto-renewable subscription was cancelled. | |
| readonly? DateTime | BillingIssueDetectedAt |
| The time when billing issue was detected (Apple was not able to charge the card). | |
| readonly? DateTime | StartsAt |
| The time when the access level has started (could be in the future). | |
| readonly string | CancellationReason |
| The reason why the subscription was cancelled. | |
| readonly bool | IsRefund |
| Whether the purchase was refunded. | |
Package Functions | |
| AccessLevel (JSONObject jsonNode) | |
|
package |
| override string AdaptySDK.AdaptyProfile.AccessLevel.ToString | ( | ) |
| readonly DateTime AdaptySDK.AdaptyProfile.AccessLevel.ActivatedAt |
The time when the access level was activated.
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.ActiveIntroductoryOfferType |
The type of active introductory offer.
Possible values are: free_trial, pay_as_you_go, pay_up_front. If the value is not null, it means that the offer was applied during the current subscription period.
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.ActivePromotionalOfferId |
An identifier of active promotional offer.
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.ActivePromotionalOfferType |
The type of active promotional offer.
Possible values are: free_trial, pay_as_you_go, pay_up_front. If the value is not null, it means that the offer was applied during the current subscription period.
| readonly? DateTime AdaptySDK.AdaptyProfile.AccessLevel.BillingIssueDetectedAt |
The time when billing issue was detected (Apple was not able to charge the card).
Subscription can still be active. Will be set to null if the charge will be made.
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.CancellationReason |
The reason why the subscription was cancelled.
Possible values are: voluntarily_cancelled, billing_error, refund, price_increase, product_was_not_available, unknown.
| readonly? DateTime AdaptySDK.AdaptyProfile.AccessLevel.ExpiresAt |
The time when the access level will expire (could be in the past and could be null for lifetime access).
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.Id |
Unique identifier of the access level configured by you in Adapty Dashboard.
| readonly bool AdaptySDK.AdaptyProfile.AccessLevel.IsActive |
Whether the access level is active.
Generally, you have to check just this property to determine if the user has access to premium features.
| readonly bool AdaptySDK.AdaptyProfile.AccessLevel.IsInGracePeriod |
Whether the auto-renewable subscription is in the grace period.
| readonly bool AdaptySDK.AdaptyProfile.AccessLevel.IsLifetime |
Whether the access level is active for a lifetime (no expiration date).
If set to true you shouldn't check expires_at , or you could just check isActive.
| readonly bool AdaptySDK.AdaptyProfile.AccessLevel.IsRefund |
Whether the purchase was refunded.
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.OfferId |
| readonly? DateTime AdaptySDK.AdaptyProfile.AccessLevel.RenewedAt |
The time when the access level was renewed.
| readonly? DateTime AdaptySDK.AdaptyProfile.AccessLevel.StartsAt |
The time when the access level has started (could be in the future).
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.Store |
The store of the purchase that unlocked this access level.
The possible values are: app_store, play_store, adapty.
| readonly? DateTime AdaptySDK.AdaptyProfile.AccessLevel.UnsubscribedAt |
The time when the auto-renewable subscription was cancelled.
Subscription can still be active, it just means that auto-renewal turned off. Will be set to null if the user reactivates the subscription.
| readonly string AdaptySDK.AdaptyProfile.AccessLevel.VendorProductId |
The identifier of the product in the App Store Connect that unlocked this access level.
| readonly bool AdaptySDK.AdaptyProfile.AccessLevel.WillRenew |
Whether the auto-renewable subscription is set to renew.