Пример #1
0
 /// <summary>
 /// create new instance based on OS. Android version
 /// </summary>
 public IAPArticle(GoogleSkuInfo prod)
 {
     id = prod.productId;
     title = prod.title;
     description = prod.description;
     price = prod.price;
 }
Пример #2
0
 public IAPProduct(GoogleSkuInfo prod)
 {
     productId    = prod.productId;
     title        = prod.title;
     price        = prod.price;
     description  = prod.description;
     currencyCode = prod.priceCurrencyCode;
 }
Пример #3
0
		public IAPProduct( GoogleSkuInfo prod )
		{
			productId = prod.productId;
			title = prod.title;
			price = prod.price;
			description = prod.description;
			currencyCode = prod.priceCurrencyCode;
		}
Пример #4
0
 public void queryInventorySucceeded(string json)
 {
     if (queryInventorySucceededEvent != null)
     {
         var dict = json.dictionaryFromJson();
         queryInventorySucceededEvent(GooglePurchase.fromList(dict["purchases"] as List <object>), GoogleSkuInfo.fromList(dict["skus"] as List <object>));
     }
 }
Пример #5
0
 public void queryInventorySucceeded(string json)
 {
     if (queryInventorySucceededEvent != null)
     {
         Dictionary <string, object> dictionary = JsonExtensions.dictionaryFromJson(json);
         queryInventorySucceededEvent(GooglePurchase.fromList(dictionary["purchases"] as List <object>), GoogleSkuInfo.fromList(dictionary["skus"] as List <object>));
     }
 }