package defpackage;

import android.text.TextUtils;
import org.json.JSONObject;

/* JADX INFO: renamed from: ˁˊᵎᵰ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes3.dex */
public final class C0696 {

    /* JADX INFO: renamed from: ʽˈˋ, reason: contains not printable characters */
    public final String f3149;

    /* JADX INFO: renamed from: ːˏᵟᵯ, reason: contains not printable characters */
    public final String f3150;

    /* JADX INFO: renamed from: ᵲᵶᵳˈ, reason: contains not printable characters */
    public final String f3151;

    /* JADX INFO: renamed from: ᵷᵺʾᵖ, reason: contains not printable characters */
    public final int f3152;

    public C0696(String str) {
        this.f3151 = str;
        JSONObject jSONObject = new JSONObject(str);
        this.f3149 = jSONObject.optString("productId");
        String strOptString = jSONObject.optString("type");
        this.f3150 = strOptString;
        this.f3152 = jSONObject.has("statusCode") ? jSONObject.optInt("statusCode") : 0;
        if (TextUtils.isEmpty(strOptString)) {
            ᵕᵩʽᵲ.ᵮᵣᵗˈ("Product type cannot be empty.");
            throw null;
        }
        jSONObject.optString("serializedDocid");
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof C0696) {
            return TextUtils.equals(this.f3151, ((C0696) obj).f3151);
        }
        return false;
    }

    public final int hashCode() {
        return this.f3151.hashCode();
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("UnfetchedProduct{productId='");
        sb.append(this.f3149);
        sb.append("', productType='");
        sb.append(this.f3150);
        sb.append("', statusCode=");
        return AbstractC3589.m8110(sb, this.f3152, "}");
    }
}
