AdaptySDK
AdaptySDK.AdaptyProfile.NonSubscription Class Reference

Public Member Functions

override string ToString ()

Public Attributes

readonly string PurchaseId
 The identifier of the purchase in Adapty.
readonly string Store
 The store of the purchase.
readonly string VendorProductId
 The identifier of the product in the App Store Connect.
readonly string VendorTransactionId
 Transaction id from the App Store.
readonly DateTime PurchasedAt
 The time when the product was purchased.
readonly bool IsSandbox
 Whether the product was purchased in the sandbox environment.
readonly bool IsRefund
 Whether the purchase was refunded.
readonly bool IsConsumable
 Whether the product should only be processed once.

Package Functions

 NonSubscription (JSONObject jsonNode)

Properties

bool IsOneTime [get]
 Deprecated, use 'isConsumable'.

Constructor & Destructor Documentation

◆ NonSubscription()

AdaptySDK.AdaptyProfile.NonSubscription.NonSubscription ( JSONObject jsonNode)
package

Member Function Documentation

◆ ToString()

override string AdaptySDK.AdaptyProfile.NonSubscription.ToString ( )

Member Data Documentation

◆ IsConsumable

readonly bool AdaptySDK.AdaptyProfile.NonSubscription.IsConsumable

Whether the product should only be processed once.

If true, the purchase will be returned by Adapty API one time only.

◆ IsRefund

readonly bool AdaptySDK.AdaptyProfile.NonSubscription.IsRefund

Whether the purchase was refunded.

◆ IsSandbox

readonly bool AdaptySDK.AdaptyProfile.NonSubscription.IsSandbox

Whether the product was purchased in the sandbox environment.

◆ PurchasedAt

readonly DateTime AdaptySDK.AdaptyProfile.NonSubscription.PurchasedAt

The time when the product was purchased.

◆ PurchaseId

readonly string AdaptySDK.AdaptyProfile.NonSubscription.PurchaseId

The identifier of the purchase in Adapty.

You can use it to ensure that you've already processed this purchase (for example tracking one time products).

◆ Store

readonly string AdaptySDK.AdaptyProfile.NonSubscription.Store

The store of the purchase.

The possible values are: app_store, play_store , adapty.

◆ VendorProductId

readonly string AdaptySDK.AdaptyProfile.NonSubscription.VendorProductId

The identifier of the product in the App Store Connect.

◆ VendorTransactionId

readonly string AdaptySDK.AdaptyProfile.NonSubscription.VendorTransactionId

Transaction id from the App Store.

Property Documentation

◆ IsOneTime

bool AdaptySDK.AdaptyProfile.NonSubscription.IsOneTime
get

Deprecated, use 'isConsumable'.


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