AdaptySDK 4.1.1
Loading...
Searching...
No Matches
AdaptySDK.AdaptyProfile.NonSubscription Class Referencesealed

One non-subscription purchase of a profile — consumable or lifetime. 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 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 store it was bought from.
readonly string VendorTransactionId
 The transaction id the store reported. Null when it does not report one.
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.

Private Member Functions

 NonSubscription ()

Detailed Description

One non-subscription purchase of a profile — consumable or lifetime.

Constructor & Destructor Documentation

◆ NonSubscription()

AdaptySDK.AdaptyProfile.NonSubscription.NonSubscription ( )
private

Member Function Documentation

◆ ToString()

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

◆ 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 store it was bought from.

◆ VendorTransactionId

readonly string AdaptySDK.AdaptyProfile.NonSubscription.VendorTransactionId

The transaction id the store reported. Null when it does not report one.


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