fromPurchase
Creates a PurchaseResult from a Google Play Purchase object.
Return
A new PurchaseResult with all available details.
Parameters
purchase
The Purchase object from Google Play Billing.
Creates a PurchaseResult from a Google Play Purchase object.
A new PurchaseResult with all available details.
The Purchase object from Google Play Billing.