package o; import android.os.Parcel; import android.os.Parcelable; /* loaded from: classes3.dex */ public final class KJ implements Parcelable { public static final Parcelable.Creator CREATOR = new RVV(); public String a; public String b; public String c; public Boolean d; public String e; public String g; @Override // android.os.Parcelable public final int describeContents() { return 0; } public KJ(String str, String str2, String str3, String str4, String str5, Boolean bool) { this.a = str; this.g = str2; this.c = str3; this.e = str4; this.b = str5; this.d = bool; } /* loaded from: classes3.dex */ public static final class RVV implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ KJ createFromParcel(Parcel parcel) { Boolean valueOf; C14957gcv.e(parcel, ""); String readString = parcel.readString(); String readString2 = parcel.readString(); String readString3 = parcel.readString(); String readString4 = parcel.readString(); String readString5 = parcel.readString(); if (parcel.readInt() == 0) { valueOf = null; } else { valueOf = Boolean.valueOf(parcel.readInt() != 0); } return new KJ(readString, readString2, readString3, readString4, readString5, valueOf); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ KJ[] newArray(int i) { return new KJ[i]; } } /* JADX WARN: Multi-variable type inference failed */ @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { int i2; C14957gcv.e(parcel, ""); parcel.writeString(this.a); parcel.writeString(this.g); parcel.writeString(this.c); parcel.writeString(this.e); parcel.writeString(this.b); Boolean bool = this.d; if (bool == null) { i2 = 0; } else { parcel.writeInt(1); i2 = bool.booleanValue(); } parcel.writeInt(i2); } public final String toString() { String str = this.a; String str2 = this.g; String str3 = this.c; String str4 = this.e; String str5 = this.b; Boolean bool = this.d; StringBuilder sb = new StringBuilder("EasycashCardXCache(productName="); sb.append(str); sb.append(", productType="); sb.append(str2); sb.append(", cardProductType="); sb.append(str3); sb.append(", productCode="); sb.append(str4); sb.append(", productSubCode="); sb.append(str5); sb.append(", isFirstCard="); sb.append(bool); sb.append(")"); return sb.toString(); } public final int hashCode() { String str = this.a; int hashCode = str == null ? 0 : str.hashCode(); String str2 = this.g; int hashCode2 = str2 == null ? 0 : str2.hashCode(); String str3 = this.c; int hashCode3 = str3 == null ? 0 : str3.hashCode(); String str4 = this.e; int hashCode4 = str4 == null ? 0 : str4.hashCode(); String str5 = this.b; int hashCode5 = str5 == null ? 0 : str5.hashCode(); Boolean bool = this.d; return (((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + (bool != null ? bool.hashCode() : 0); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof KJ)) { return false; } KJ kj = (KJ) obj; return C14957gcv.b((Object) this.a, (Object) kj.a) && C14957gcv.b((Object) this.g, (Object) kj.g) && C14957gcv.b((Object) this.c, (Object) kj.c) && C14957gcv.b((Object) this.e, (Object) kj.e) && C14957gcv.b((Object) this.b, (Object) kj.b) && C14957gcv.b(this.d, kj.d); } }