/// <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; }
public IAPProduct(GoogleSkuInfo prod) { productId = prod.productId; title = prod.title; price = prod.price; description = prod.description; currencyCode = prod.priceCurrencyCode; }
public IAPProduct( GoogleSkuInfo prod ) { productId = prod.productId; title = prod.title; price = prod.price; description = prod.description; currencyCode = prod.priceCurrencyCode; }
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>)); } }
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>)); } }