コード例 #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>));
     }
 }