package I2;

import org.json.JSONObject;

/* JADX INFO: loaded from: classes.dex */
public final class r {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f2651a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final long f2652b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final String f2653c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final String f2654d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final int f2655e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final int f2656f;

    public r(JSONObject jSONObject) {
        this.f2654d = jSONObject.optString("billingPeriod");
        this.f2653c = jSONObject.optString("priceCurrencyCode");
        this.f2651a = jSONObject.optString("formattedPrice");
        this.f2652b = jSONObject.optLong("priceAmountMicros");
        this.f2656f = jSONObject.optInt("recurrenceMode");
        this.f2655e = jSONObject.optInt("billingCycleCount");
    }
}
