Files
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

69 lines
1.8 KiB
Java

package com.firemonkeys.cloudcellapi.util;
import com.unity3d.ads.metadata.InAppPurchaseMetaData;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class SkuDetails {
public static final String ITEM_TYPE_INAPP = "inapp";
String mDescription;
String mItemType;
String mJson;
String mPrice;
String mPriceAmountMicros;
String mPriceCurrencyCode;
String mSku;
String mTitle;
String mType;
public String getDescription() {
return this.mDescription;
}
public String getPrice() {
return this.mPrice;
}
public String getPriceAmountMicros() {
return this.mPriceAmountMicros;
}
public String getPriceCurrencyCode() {
return this.mPriceCurrencyCode;
}
public String getSku() {
return this.mSku;
}
public String getTitle() {
return this.mTitle;
}
public String getType() {
return this.mType;
}
public SkuDetails(String str) throws JSONException {
this("inapp", str);
}
public SkuDetails(String str, String str2) throws JSONException {
this.mItemType = str;
this.mJson = str2;
JSONObject jSONObject = new JSONObject(this.mJson);
this.mSku = jSONObject.optString(InAppPurchaseMetaData.KEY_PRODUCT_ID);
this.mType = jSONObject.optString("type");
this.mPrice = jSONObject.optString("price");
this.mPriceAmountMicros = jSONObject.optString("price_amount_micros");
this.mPriceCurrencyCode = jSONObject.optString("price_currency_code");
this.mTitle = jSONObject.optString("title");
this.mDescription = jSONObject.optString("description");
}
public String toString() {
return "SkuDetails:" + this.mJson;
}
}