AdaptySDK
AdaptySDK.AdaptyPaywallProduct Class Reference

Represents a product available for purchase in a paywall. More...

Public Member Functions

override string ToString ()

Public Attributes

readonly string VendorProductId
 The unique identifier of the product in the App Store or Google Play Store.
readonly string AdaptyProductId
 The unique identifier of the product in Adapty.
readonly string AccessLevelId
 The identifier of the access level configured in the Adapty Dashboard.
readonly string ProductType
 The type of the product (e.g., "consumable", "non_consumable", "subscription").
readonly string PaywallVariationId
 The identifier of the variation, used to attribute purchases to the paywall.
readonly string PaywallABTestName
 The parent A/B test name associated with this product.
readonly string PaywallName
 The parent paywall name associated with this product.
readonly string LocalizedDescription
 A localized description of the product.
readonly string LocalizedTitle
 The localized name of the product.
readonly bool IsFamilyShareable
 Indicates whether the product is available for family sharing in App Store Connect (iOS only).
readonly string RegionCode
 The product locale region code.
readonly AdaptyPrice Price
 The object that represents the main price for the product.
readonly AdaptySubscription Subscription
 Detailed information about the subscription, including introductory offers, promotional offers, etc.
readonly int PaywallProductIndex
 The index of the product in the paywall (0-based).

Package Functions

JSONNode ToJSONNode ()
 AdaptyPaywallProduct (JSONObject jsonNode)

Private Attributes

readonly string _PayloadData
readonly string _WebPurchaseUrl

Detailed Description

Represents a product available for purchase in a paywall.

This class contains all information about a product including pricing, subscription details, and metadata. Read more at Adapty Documentation

Constructor & Destructor Documentation

◆ AdaptyPaywallProduct()

AdaptySDK.AdaptyPaywallProduct.AdaptyPaywallProduct ( JSONObject jsonNode)
package

Member Function Documentation

◆ ToJSONNode()

JSONNode AdaptySDK.AdaptyPaywallProduct.ToJSONNode ( )
package

◆ ToString()

override string AdaptySDK.AdaptyPaywallProduct.ToString ( )

Member Data Documentation

◆ _PayloadData

readonly string AdaptySDK.AdaptyPaywallProduct._PayloadData
private

◆ _WebPurchaseUrl

readonly string AdaptySDK.AdaptyPaywallProduct._WebPurchaseUrl
private

◆ AccessLevelId

readonly string AdaptySDK.AdaptyPaywallProduct.AccessLevelId

The identifier of the access level configured in the Adapty Dashboard.

When a user purchases this product, they will be granted access to this access level.

◆ AdaptyProductId

readonly string AdaptySDK.AdaptyPaywallProduct.AdaptyProductId

The unique identifier of the product in Adapty.

◆ IsFamilyShareable

readonly bool AdaptySDK.AdaptyPaywallProduct.IsFamilyShareable

Indicates whether the product is available for family sharing in App Store Connect (iOS only).

◆ LocalizedDescription

readonly string AdaptySDK.AdaptyPaywallProduct.LocalizedDescription

A localized description of the product.

◆ LocalizedTitle

readonly string AdaptySDK.AdaptyPaywallProduct.LocalizedTitle

The localized name of the product.

◆ PaywallABTestName

readonly string AdaptySDK.AdaptyPaywallProduct.PaywallABTestName

The parent A/B test name associated with this product.

◆ PaywallName

readonly string AdaptySDK.AdaptyPaywallProduct.PaywallName

The parent paywall name associated with this product.

◆ PaywallProductIndex

readonly int AdaptySDK.AdaptyPaywallProduct.PaywallProductIndex

The index of the product in the paywall (0-based).

◆ PaywallVariationId

readonly string AdaptySDK.AdaptyPaywallProduct.PaywallVariationId

The identifier of the variation, used to attribute purchases to the paywall.

◆ Price

readonly AdaptyPrice AdaptySDK.AdaptyPaywallProduct.Price

The object that represents the main price for the product.

◆ ProductType

readonly string AdaptySDK.AdaptyPaywallProduct.ProductType

The type of the product (e.g., "consumable", "non_consumable", "subscription").

◆ RegionCode

readonly string AdaptySDK.AdaptyPaywallProduct.RegionCode

The product locale region code.

This can be null if the region code is not available.

◆ Subscription

readonly AdaptySubscription AdaptySDK.AdaptyPaywallProduct.Subscription

Detailed information about the subscription, including introductory offers, promotional offers, etc.

This is null for non-subscription products.

◆ VendorProductId

readonly string AdaptySDK.AdaptyPaywallProduct.VendorProductId

The unique identifier of the product in the App Store or Google Play Store.


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