Files
rr3-apk/decompiled-community/sources/com/firemonkeys/cloudcellapi/util/Purchase.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

80 lines
2.2 KiB
Java

package com.firemonkeys.cloudcellapi.util;
import com.facebook.gamingservices.cloudgaming.internal.SDKConstants;
import com.unity3d.ads.core.domain.HandleInvocationsFromAdViewer;
import com.unity3d.ads.metadata.InAppPurchaseMetaData;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class Purchase {
String mDeveloperPayload;
String mItemType;
String mOrderId;
String mOriginalJson;
String mPackageName;
int mPurchaseState;
long mPurchaseTime;
String mSignature;
String mSku;
String mToken;
public String getDeveloperPayload() {
return this.mDeveloperPayload;
}
public String getItemType() {
return this.mItemType;
}
public String getOrderId() {
return this.mOrderId;
}
public String getOriginalJson() {
return this.mOriginalJson;
}
public String getPackageName() {
return this.mPackageName;
}
public int getPurchaseState() {
return this.mPurchaseState;
}
public long getPurchaseTime() {
return this.mPurchaseTime;
}
public String getSignature() {
return this.mSignature;
}
public String getSku() {
return this.mSku;
}
public String getToken() {
return this.mToken;
}
public Purchase(String str, String str2, String str3) throws JSONException {
this.mItemType = str;
this.mOriginalJson = str2;
JSONObject jSONObject = new JSONObject(this.mOriginalJson);
this.mOrderId = jSONObject.optString("orderId");
this.mPackageName = jSONObject.optString(HandleInvocationsFromAdViewer.KEY_PACKAGE_NAME);
this.mSku = jSONObject.optString(InAppPurchaseMetaData.KEY_PRODUCT_ID);
this.mPurchaseTime = jSONObject.optLong("purchaseTime");
this.mPurchaseState = jSONObject.optInt("purchaseState");
this.mDeveloperPayload = jSONObject.optString(SDKConstants.PARAM_DEVELOPER_PAYLOAD);
this.mToken = jSONObject.optString("token", jSONObject.optString(SDKConstants.PARAM_PURCHASE_TOKEN));
this.mSignature = str3;
}
public String toString() {
return "PurchaseInfo(type:" + this.mItemType + "):" + this.mOriginalJson;
}
}