This commit is contained in:
corn
2026-06-07 22:59:32 +08:00
commit a62ff7379b
7171 changed files with 10015624 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
using System;
using System.Collections.Generic;
namespace com.adjust.sdk
{
public class AdjustPlayStoreSubscription
{
internal string price;
internal string currency;
internal string sku;
internal string orderId;
internal string signature;
internal string purchaseToken;
internal string billingStore;
internal string purchaseTime;
internal List<string> partnerList;
internal List<string> callbackList;
public AdjustPlayStoreSubscription(string price, string currency, string sku, string orderId, string signature, string purchaseToken)
{
this.price = price;
this.currency = currency;
this.sku = sku;
this.orderId = orderId;
this.signature = signature;
this.purchaseToken = purchaseToken;
}
public void setPurchaseTime(string purchaseTime)
{
this.purchaseTime = purchaseTime;
}
public void addCallbackParameter(string key, string value)
{
if (callbackList == null)
{
callbackList = new List<string>();
}
callbackList.Add(key);
callbackList.Add(value);
}
public void addPartnerParameter(string key, string value)
{
if (partnerList == null)
{
partnerList = new List<string>();
}
partnerList.Add(key);
partnerList.Add(value);
}
}
}