2026-04-20 12:06:34 +08:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace AppsFlyerSDK
|
|
|
|
|
{
|
|
|
|
|
public enum AFPurchaseType
|
|
|
|
|
{
|
|
|
|
|
Subscription = 0,
|
|
|
|
|
OneTimePurchase = 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-05-09 09:37:34 +08:00
|
|
|
/// Purchase details class matching Android SDK AFPurchaseDetails
|
2026-04-20 12:06:34 +08:00
|
|
|
/// </summary>
|
|
|
|
|
public class AFPurchaseDetailsAndroid
|
|
|
|
|
{
|
|
|
|
|
public AFPurchaseType purchaseType { get; private set; }
|
|
|
|
|
public string purchaseToken { get; private set; }
|
|
|
|
|
public string productId { get; private set; }
|
|
|
|
|
|
2026-05-09 09:37:34 +08:00
|
|
|
public AFPurchaseDetailsAndroid(AFPurchaseType type, String purchaseToken, String productId)
|
2026-04-20 12:06:34 +08:00
|
|
|
{
|
|
|
|
|
this.purchaseType = type;
|
|
|
|
|
this.purchaseToken = purchaseToken;
|
|
|
|
|
this.productId = productId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|