using System; using System.Collections.Generic; namespace AppsFlyerSDK { public enum AFPurchaseType { Subscription = 0, OneTimePurchase = 1 } /// /// Purchase details class matching Android SDK AFPurchaseDetails /// public class AFPurchaseDetailsAndroid { public AFPurchaseType purchaseType { get; private set; } public string purchaseToken { get; private set; } public string productId { get; private set; } public AFPurchaseDetailsAndroid(AFPurchaseType type, String purchaseToken, String productId) { this.purchaseType = type; this.purchaseToken = purchaseToken; this.productId = productId; } } }