void onInitializePurchasing()
        {
            String result    = Purchasing.Initialize(m_Platform).ToString();
            int    eventType = (int)PurchasingEvent.INITIALIZATION;

            m_UnityPurchasing.CallStatic("dispatchReturnEvent", eventType, result);
        }
        void onGetPurchasingVersion()
        {
            String promoVersion = Purchasing.GetPromoVersion();
            int    eventType    = (int)PurchasingEvent.VERSION;

            m_UnityPurchasing.CallStatic("dispatchReturnEvent", eventType, promoVersion);
        }
        void onGetProductCatalog()
        {
            String purchaseCatalog = Purchasing.GetPurchasingCatalog();
            int    eventType       = (int)PurchasingEvent.CATALOG;

            m_UnityPurchasing.CallStatic("dispatchReturnEvent", eventType, purchaseCatalog);
        }
        void onPurchasingCommand(String eventString)
        {
            String result    = Purchasing.InitiatePurchasingCommand(eventString).ToString();
            int    eventType = (int)PurchasingEvent.COMMAND;

            m_UnityPurchasing.CallStatic("dispatchReturnEvent", eventType, result);
        }
        static void UnityAdsPurchasingInitialize()
        {
            string result = Purchasing.Initialize(Instance).ToString();

            UnityAdsPurchasingDispatchReturnEvent((long)PurchasingEvent.INITIALIZATION, result);
        }
        static void UnityAdsPurchasingGetPurchasingVersion()
        {
            string result = Purchasing.GetPromoVersion();

            UnityAdsPurchasingDispatchReturnEvent((long)PurchasingEvent.VERSION, result);
        }
        static void UnityAdsPurchasingGetProductCatalog()
        {
            string result = Purchasing.GetPurchasingCatalog();

            UnityAdsPurchasingDispatchReturnEvent((long)PurchasingEvent.CATALOG, result);
        }
        static void UnityAdsDidInitiatePurchasingCommand(string eventString)
        {
            string result = Purchasing.InitiatePurchasingCommand(eventString).ToString();

            UnityAdsPurchasingDispatchReturnEvent((long)PurchasingEvent.COMMAND, result);
        }