AdaptySDK
AdaptySDK.AdaptyPaywall Class Reference

Represents a paywall configuration in Adapty. More...

Classes

class  ProductReference
class  ViewConfiguration

Public Member Functions

override string ToString ()

Public Attributes

readonly AdaptyPlacement Placement
 An AdaptyPlacement object that contains information about the placement of the paywall.
readonly string InstanceIdentity
 A unique identifier for this paywall instance.
readonly string Name
 The paywall name configured in the Adapty Dashboard.
readonly string VariationId
 The identifier of the variation, used to attribute purchases to the paywall.
readonly AdaptyRemoteConfig RemoteConfig
 The custom JSON formatted data configured in the Adapty Dashboard.

Package Functions

JSONNode ToJSONNode ()
 AdaptyPaywall (JSONObject jsonNode)

Properties

bool HasViewConfiguration [get]
 Indicates whether it is possible to use Adapty Paywall Builder for this paywall.
IList< string > VendorProductIds [get]
 Array of vendor product IDs (App Store or Google Play product identifiers) associated with this paywall.
IList< ProductReferenceProducts [get]
 Array of product references associated with this paywall.
IList< AdaptyProductIdentifierProductIdentifiers [get]
 Array of product identifiers associated with this paywall.
string PlacementId [get]
 The identifier of the paywall, configured in Adapty Dashboard.
string AudienceName [get]
string ABTestName [get]
 Paywall A/B test name.
long Revision [get]
string RemoteConfigString [get]
string Locale [get]

Private Attributes

readonly ViewConfiguration _ViewConfiguration
readonly IList< ProductReference_Products
readonly long _ResponseCreatedAt
readonly string _PayloadData
readonly string _WebPurchaseUrl
readonly string _RequestLocale

Detailed Description

Represents a paywall configuration in Adapty.

A paywall is a set of products that can be displayed to users. It contains information about the placement, products, and visual configuration. Read more at Adapty Documentation

Constructor & Destructor Documentation

◆ AdaptyPaywall()

AdaptySDK.AdaptyPaywall.AdaptyPaywall ( JSONObject jsonNode)
package

Member Function Documentation

◆ ToJSONNode()

JSONNode AdaptySDK.AdaptyPaywall.ToJSONNode ( )
package

◆ ToString()

override string AdaptySDK.AdaptyPaywall.ToString ( )

Member Data Documentation

◆ _PayloadData

readonly string AdaptySDK.AdaptyPaywall._PayloadData
private

◆ _Products

readonly IList<ProductReference> AdaptySDK.AdaptyPaywall._Products
private

◆ _RequestLocale

readonly string AdaptySDK.AdaptyPaywall._RequestLocale
private

◆ _ResponseCreatedAt

readonly long AdaptySDK.AdaptyPaywall._ResponseCreatedAt
private

◆ _ViewConfiguration

readonly ViewConfiguration AdaptySDK.AdaptyPaywall._ViewConfiguration
private

◆ _WebPurchaseUrl

readonly string AdaptySDK.AdaptyPaywall._WebPurchaseUrl
private

◆ InstanceIdentity

readonly string AdaptySDK.AdaptyPaywall.InstanceIdentity

A unique identifier for this paywall instance.

◆ Name

readonly string AdaptySDK.AdaptyPaywall.Name

The paywall name configured in the Adapty Dashboard.

◆ Placement

readonly AdaptyPlacement AdaptySDK.AdaptyPaywall.Placement

An AdaptyPlacement object that contains information about the placement of the paywall.

◆ RemoteConfig

readonly AdaptyRemoteConfig AdaptySDK.AdaptyPaywall.RemoteConfig

The custom JSON formatted data configured in the Adapty Dashboard.

This can be null if no remote config is configured for the paywall.

◆ VariationId

readonly string AdaptySDK.AdaptyPaywall.VariationId

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

Property Documentation

◆ ABTestName

string AdaptySDK.AdaptyPaywall.ABTestName
get

Paywall A/B test name.

◆ AudienceName

string AdaptySDK.AdaptyPaywall.AudienceName
get

◆ HasViewConfiguration

bool AdaptySDK.AdaptyPaywall.HasViewConfiguration
get

Indicates whether it is possible to use Adapty Paywall Builder for this paywall.

If true, you can use AdaptyUI.CreatePaywallView(AdaptyPaywall, AdaptyUICreatePaywallViewParameters, Action<AdaptyUIPaywallView, AdaptyError>) to create a native paywall view. Read more at Adapty Documentation

◆ Locale

string AdaptySDK.AdaptyPaywall.Locale
get

◆ PlacementId

string AdaptySDK.AdaptyPaywall.PlacementId
get

The identifier of the paywall, configured in Adapty Dashboard.

◆ ProductIdentifiers

IList<AdaptyProductIdentifier> AdaptySDK.AdaptyPaywall.ProductIdentifiers
get

Array of product identifiers associated with this paywall.

◆ Products

IList<ProductReference> AdaptySDK.AdaptyPaywall.Products
get

Array of product references associated with this paywall.

◆ RemoteConfigString

string AdaptySDK.AdaptyPaywall.RemoteConfigString
get

◆ Revision

long AdaptySDK.AdaptyPaywall.Revision
get

The current revision (version) of the paywall. Every change within the paywall creates a new revision.

◆ VendorProductIds

IList<string> AdaptySDK.AdaptyPaywall.VendorProductIds
get

Array of vendor product IDs (App Store or Google Play product identifiers) associated with this paywall.


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