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

A product for an App Store promoted in-app purchase. iOS only. 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 VendorProductId
 The unique identifier of the product in the App Store.
readonly string LocalizedDescription
 The description of the product, localized by the storefront the user's device is connected to.
readonly string LocalizedTitle
 The name of the product, localized by the storefront the user's device is connected to.
readonly bool IsFamilyShareable
 Whether the product is available for family sharing in App Store Connect (iOS only).
readonly string RegionCode
 The region code of the locale used to format the price of the product.
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.

Properties

string PayloadData [get]

Private Member Functions

 AdaptyPromotedProduct ()

Private Attributes

readonly string _PayloadData

Detailed Description

A product for an App Store promoted in-app purchase. iOS only.

Arrives through IAdaptyEventListener.OnReceivePromotedPurchase(AdaptyPromotedProduct) when the user starts a purchase from the App Store product page. Hand it to Adapty.MakePromotedPurchase(AdaptyPromotedProduct, System.Action<AdaptyPurchaseResult, AdaptyError>) to complete the purchase.

Constructor & Destructor Documentation

◆ AdaptyPromotedProduct()

AdaptySDK.AdaptyPromotedProduct.AdaptyPromotedProduct ( )
private

Member Function Documentation

◆ ToString()

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

◆ _PayloadData

readonly string AdaptySDK.AdaptyPromotedProduct._PayloadData
private

◆ IsFamilyShareable

readonly bool AdaptySDK.AdaptyPromotedProduct.IsFamilyShareable

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

◆ LocalizedDescription

readonly string AdaptySDK.AdaptyPromotedProduct.LocalizedDescription

The description of the product, localized by the storefront the user's device is connected to.

◆ LocalizedTitle

readonly string AdaptySDK.AdaptyPromotedProduct.LocalizedTitle

The name of the product, localized by the storefront the user's device is connected to.

◆ Price

readonly AdaptyPrice AdaptySDK.AdaptyPromotedProduct.Price

The object that represents the main price for the product.

◆ RegionCode

readonly string AdaptySDK.AdaptyPromotedProduct.RegionCode

The region code of the locale used to format the price of the product.

◆ Subscription

readonly AdaptySubscription AdaptySDK.AdaptyPromotedProduct.Subscription

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

This is null for non-subscription products.

◆ VendorProductId

readonly string AdaptySDK.AdaptyPromotedProduct.VendorProductId

The unique identifier of the product in the App Store.

Property Documentation

◆ PayloadData

string AdaptySDK.AdaptyPromotedProduct.PayloadData
getpackage

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