-1

I am looking at the new billing library for Android, can't seem to find what json is returned in a purchase object by this method.

Can someone point me at a reference?

halfer
  • 19,824
  • 17
  • 99
  • 186
1tSurge
  • 663
  • 2
  • 7
  • 20

1 Answers1

0

It's in the BillingClient docs:

queryPurchaseHistoryAsync

(String skuType, PurchaseHistoryResponseListener listener)

Returns the most recent purchase made by the user for each SKU, even if that purchase is expired, canceled, or consumed.

Community
  • 1
  • 1
ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56
  • 1
    I'm looking for the full json or a sample of it. IE is developer payload included? what about expiry time for subs? what are the exact names of those fields? etc – 1tSurge Apr 17 '18 at 18:03