public static void recordMonetizationEvent(double totalPrice, string currency, UpsightPurchaseResolution resolution, string product = null, double price = -1f, int quantity = -1, Dictionary <string, object> properties = null) { if (!Upsight.initSuccessful()) { return; } Upsight._pluginBase.Call(nameof(recordMonetizationEvent), new object[7] { (object)totalPrice, (object)currency, (object)product, (object)price, (object)resolution.ToString().ToLower(), (object)quantity, properties == null ? (object)(string)null : (object)Json.Serialize((object)properties) }); }
public static void recordAppleStorePurchase(int quantity, string currency, double price, string transactionIdentifier, string product, UpsightPurchaseResolution resolution, Dictionary <string, object> properties = null) { }