|
AdaptySDK 4.1.1
|
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 () | |
One non-subscription purchase of a profile — consumable or lifetime.
|
private |
| 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.
| 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.
| readonly bool AdaptySDK.AdaptyProfile.NonSubscription.IsRefund |
Whether the purchase was refunded.
| readonly bool AdaptySDK.AdaptyProfile.NonSubscription.IsSandbox |
Whether the product was purchased in the sandbox environment.
| readonly DateTime AdaptySDK.AdaptyProfile.NonSubscription.PurchasedAt |
The time when the product was purchased.
| 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).
| readonly string AdaptySDK.AdaptyProfile.NonSubscription.Store |
The store of the purchase.
The possible values are: app_store, play_store, adapty.
| readonly string AdaptySDK.AdaptyProfile.NonSubscription.VendorProductId |
The identifier of the product in the store it was bought from.
| readonly string AdaptySDK.AdaptyProfile.NonSubscription.VendorTransactionId |
The transaction id the store reported. Null when it does not report one.