AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptySubscription Class Referencesealed

What a product's subscription looks like: its period, its offer, and how it renews. More...

Public Member Functions

override string ToString ()
 A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Public Attributes

readonly string GroupIdentifier
 The identifier of the subscription group to which the subscription belongs.
readonly AdaptySubscriptionPeriod Period
 A ProductSubscriptionPeriodModel object. The period details for products that are subscriptions.
readonly string LocalizedPeriod
 Localized subscription period of the product.
readonly AdaptySubscriptionOffer Offer
 The discounted offer attached to this subscription, or null when it is at full price.
readonly AdaptySubscriptionRenewalType RenewalType
 Android only. Whether the subscription renews by itself.
readonly string BasePlanId
 Android only. The Google Play base plan this subscription is on. Null on iOS.

Private Member Functions

 AdaptySubscription ()

Detailed Description

What a product's subscription looks like: its period, its offer, and how it renews.

Constructor & Destructor Documentation

◆ AdaptySubscription()

AdaptySDK.AdaptySubscription.AdaptySubscription ( )
private

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptySubscription.ToString ( )

A description for logs and the debugger. The format is not part of the contract — read the members rather than parsing it.

Member Data Documentation

◆ BasePlanId

readonly string AdaptySDK.AdaptySubscription.BasePlanId

Android only. The Google Play base plan this subscription is on. Null on iOS.

◆ GroupIdentifier

readonly string AdaptySDK.AdaptySubscription.GroupIdentifier

The identifier of the subscription group to which the subscription belongs.

[Nullable]

◆ LocalizedPeriod

readonly string AdaptySDK.AdaptySubscription.LocalizedPeriod

Localized subscription period of the product.

[Nullable]

◆ Offer

readonly AdaptySubscriptionOffer AdaptySDK.AdaptySubscription.Offer

The discounted offer attached to this subscription, or null when it is at full price.

◆ Period

readonly AdaptySubscriptionPeriod AdaptySDK.AdaptySubscription.Period

A ProductSubscriptionPeriodModel object. The period details for products that are subscriptions.

◆ RenewalType

readonly AdaptySubscriptionRenewalType AdaptySDK.AdaptySubscription.RenewalType
Initial value:
=
AdaptySubscriptionRenewalType
Android only. Whether the subscription renews by itself.
Definition AdaptySubscriptionRenewalType.cs:11

Android only. Whether the subscription renews by itself.


The documentation for this class was generated from the following file: