| Constructor and Description |
|---|
PurchaseHistoryRecord(String jsonPurchaseInfo,
String signature) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getDeveloperPayload()
Returns the payload specified when the purchase was acknowledged or consumed.
|
String |
getOriginalJson()
Returns a String in JSON format that contains details about the purchase order.
|
long |
getPurchaseTime()
Returns the time the product was purchased, in milliseconds since the epoch (Jan 1, 1970).
|
String |
getPurchaseToken()
Returns a token that uniquely identifies a purchase for a given item and user pair.
|
String |
getSignature()
Returns String containing the signature of the purchase data that was signed with the private
key of the developer.
|
String |
getSku()
Returns the product Id.
|
int |
hashCode() |
String |
toString() |
public PurchaseHistoryRecord(String jsonPurchaseInfo, String signature) throws JSONException
JSONExceptionpublic String getSku()
public long getPurchaseTime()
public String getPurchaseToken()
@Nullable public String getDeveloperPayload()
public String getOriginalJson()
public String getSignature()