I am using the Google Play Billing Library 5 and have a subscription product with different base plans.
When processing the purchases in the PurchasesUpdatedListener or in the callback of queryPurchasesAsync, I receive a list of Purchase objects which contain inter alia the product IDs, purchase time and whether it's auto-renewing.
But how do I know which base plan was selected by the user, and when it expires?
The PurchaseHistoryRecord returned from queryPurchaseHistoryAsync also seems  not to contain this info.
I know the Play Developer API returns the expiry time
with purchases.subscriptionsv2.get, but is the inconvenience of using the API directly necessary?