I am using version 5 of billing library. I have a subscription with product id "MySub"
that has two offers. One monthly and one yearly with offer ids "sum.monthly"
and "sub.yearly"
.
When I purchase for example the monthly option, the purchase object I receive from the billing library only has the product id "MySub"
. But it's not telling me which offer the user purchased. How do I extract that information from the Purchase object?