refreshPurchases
Refreshes and retrieves all current purchases from Google Play. This fetches both INAPP and subscription purchases. Results are available via the existing purchase tracking. Note: For consumed purchases, you must track them yourself using PurchaseHistoryListener. Google's queryPurchaseHistoryAsync is deprecated in Billing Library 8+.
Refreshes and retrieves current purchases for a specific product type.
Parameters
productType
BillingClient.ProductType.INAPP or BillingClient.ProductType.SUBS