Files
rr3-apk/decompiled/sources/com/firemonkeys/cloudcellapi/util/SkuDetails.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -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;
}
}