Esempio n. 1
0
 private void ConsumePurchase(Purchase purchase)
 {
     if (!purchase.IsAcknowledged)
     {
         var cParams =
             ConsumeParams.NewBuilder()
             .SetPurchaseToken(purchase.PurchaseToken)
             .Build();
         billingClient.Consume(cParams, this);
     }
 }