Billing.BillingService.RestoreTransactions.Run C# (CSharp) Method

Run() protected method

protected Run ( ) : long
return long
            protected internal override long Run()
            {
                mNonce = Security.GenerateNonce();

                Bundle request = MakeRequestBundle("RESTORE_TRANSACTIONS");
                request.PutLong(Consts.BILLING_REQUEST_NONCE, mNonce);
                Bundle response = mService.SendBillingRequest(request);
                LogResponseCode("restoreTransactions", response);
                return response.GetLong(Consts.BILLING_RESPONSE_REQUEST_ID, Consts.BILLING_RESPONSE_INVALID_REQUEST_ID);
            }