How to identify the specific subscription offer from Purchase object in new Google Play Billing v5 library? I can get the product id but there seems to be now way get offer id or token? In that case how do I notify users if they wish to upgrade/downgrade plans?
@Override
public void onPurchasesUpdated(@NonNull BillingResult billingResult,
@Nullable @org.jetbrains.annotations.Nullable List<Purchase> purchases) {
Purchase purchase=purchases.get(0);
//get the exact subscription offer related to this purchase
}