public void ConsumeAsync(string purchaseToken, ProductDefinition product, GooglePurchase googlePurchase, Action <ProductDefinition, GooglePurchase, IGoogleBillingResult, string> onConsume)
        {
            AndroidJavaObject consumeParams = GetConsumeParamsClass().CallStatic <AndroidJavaObject>("newBuilder");

            consumeParams = consumeParams.Call <AndroidJavaObject>("setPurchaseToken", purchaseToken);
            consumeParams = consumeParams.Call <AndroidJavaObject>("build");

            m_BillingClient.Call("consumeAsync", consumeParams, new GoogleConsumeResponseListener(product, googlePurchase, onConsume));
        }
        public void AcknowledgePurchase(string purchaseToken, ProductDefinition product, GooglePurchase googlePurchase, Action <ProductDefinition, GooglePurchase, IGoogleBillingResult> onAcknowledge)
        {
            AndroidJavaObject acknowledgePurchaseParams = GetAcknowledgePurchaseParamsClass().CallStatic <AndroidJavaObject>("newBuilder");

            acknowledgePurchaseParams = acknowledgePurchaseParams.Call <AndroidJavaObject>("setPurchaseToken", purchaseToken);
            acknowledgePurchaseParams = acknowledgePurchaseParams.Call <AndroidJavaObject>("build");

            m_BillingClient.Call("acknowledgePurchase", acknowledgePurchaseParams, new GoogleAcknowledgePurchaseListener(product, googlePurchase, onAcknowledge));
        }