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

One stretch of an offer at one price: a free trial, then a discounted period, then the rest. 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 AdaptyPrice Price
 What the phase costs. Zero for a free trial.
readonly int NumberOfPeriods
 An integer that indicates the number of periods the product discount is available.
readonly AdaptyPaymentMode PaymentMode
 The payment mode for this product discount.
readonly AdaptySubscriptionPeriod SubscriptionPeriod
 A [Adapty.Period] object that defines the period for the product discount.
readonly string LocalizedSubscriptionPeriod
 The formatted subscription period of the discount for the user's localization.
readonly string LocalizedNumberOfPeriods
 The formatted number of periods of the discount for the user's localization.

Private Member Functions

 AdaptySubscriptionPhase ()

Detailed Description

One stretch of an offer at one price: a free trial, then a discounted period, then the rest.

Constructor & Destructor Documentation

◆ AdaptySubscriptionPhase()

AdaptySDK.AdaptySubscriptionPhase.AdaptySubscriptionPhase ( )
private

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptySubscriptionPhase.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

◆ LocalizedNumberOfPeriods

readonly string AdaptySDK.AdaptySubscriptionPhase.LocalizedNumberOfPeriods

The formatted number of periods of the discount for the user's localization.

[Nullable]

◆ LocalizedSubscriptionPeriod

readonly string AdaptySDK.AdaptySubscriptionPhase.LocalizedSubscriptionPeriod

The formatted subscription period of the discount for the user's localization.

[Nullable]

◆ NumberOfPeriods

readonly int AdaptySDK.AdaptySubscriptionPhase.NumberOfPeriods

An integer that indicates the number of periods the product discount is available.

◆ PaymentMode

readonly AdaptyPaymentMode AdaptySDK.AdaptySubscriptionPhase.PaymentMode

The payment mode for this product discount.

◆ Price

readonly AdaptyPrice AdaptySDK.AdaptySubscriptionPhase.Price

What the phase costs. Zero for a free trial.

◆ SubscriptionPeriod

readonly AdaptySubscriptionPeriod AdaptySDK.AdaptySubscriptionPhase.SubscriptionPeriod

A [Adapty.Period] object that defines the period for the product discount.


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