internal GooglePlayStoreService(
            IGoogleBillingClient billingClient,
            IQuerySkuDetailsService querySkuDetailsService,
            IGooglePurchaseService purchaseService,
            IGoogleFinishTransactionService finishTransactionService,
            IGoogleQueryPurchasesService queryPurchasesService,
            IBillingClientStateListener billingClientStateListener,
            IGooglePriceChangeService priceChangeService,
            IGoogleLastKnownProductService lastKnownProductService)
        {
            m_BillingClient                  = billingClient;
            m_QuerySkuDetailsService         = querySkuDetailsService;
            m_GooglePurchaseService          = purchaseService;
            m_GoogleFinishTransactionService = finishTransactionService;
            m_GoogleQueryPurchasesService    = queryPurchasesService;
            m_GooglePriceChangeService       = priceChangeService;
            m_GoogleLastKnownProductService  = lastKnownProductService;

            InitConnectionWithGooglePlay(billingClientStateListener);
        }
 void InitConnectionWithGooglePlay(IBillingClientStateListener billingClientStateListener)
 {
     billingClientStateListener.RegisterOnConnected(OnConnected);
     billingClientStateListener.RegisterOnDisconnected(OnDisconnected);
     m_BillingClient.StartConnection(billingClientStateListener);
 }
 public void StartConnection(IBillingClientStateListener billingClientStateListener)
 {
     m_BillingClient.Call("startConnection", billingClientStateListener);
 }