You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.5 KiB
54 lines
1.5 KiB
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); |
|
} |
|
} |
|
}
|
|
|