package o; import android.os.Parcel; import android.os.Parcelable; /* loaded from: classes3.dex */ public final class HJ implements Parcelable { public static final Sts CREATOR = new Sts(0); public final String b; public final Double c; public final String d; public final String e; @Override // android.os.Parcelable public final int describeContents() { return 0; } public HJ(String str, String str2, String str3, Double d) { this.d = str; this.b = str2; this.e = str3; this.c = d; } /* JADX WARN: Illegal instructions before constructor call */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public HJ(android.os.Parcel r5) { /* r4 = this; java.lang.String r0 = "" o.C14957gcv.e(r5, r0) java.lang.String r0 = r5.readString() java.lang.String r1 = r5.readString() java.lang.String r2 = r5.readString() java.lang.Class r3 = java.lang.Double.TYPE java.lang.ClassLoader r3 = r3.getClassLoader() java.lang.Object r5 = r5.readValue(r3) boolean r3 = r5 instanceof java.lang.Double if (r3 == 0) goto L22 java.lang.Double r5 = (java.lang.Double) r5 goto L23 L22: r5 = 0 L23: r4.(r0, r1, r2, r5) return */ throw new UnsupportedOperationException("Method not decompiled: o.HJ.(android.os.Parcel):void"); } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeString(this.d); parcel.writeString(this.b); parcel.writeString(this.e); parcel.writeValue(this.c); } /* loaded from: classes3.dex */ public static final class Sts implements Parcelable.Creator { private Sts() { } @Override // android.os.Parcelable.Creator public final /* synthetic */ HJ createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); return new HJ(parcel); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ HJ[] newArray(int i) { return new HJ[i]; } public /* synthetic */ Sts(byte b) { this(); } } public final String toString() { String str = this.d; String str2 = this.b; String str3 = this.e; Double d = this.c; StringBuilder sb = new StringBuilder("CreditCardFullAmountDisplay(merchantId="); sb.append(str); sb.append(", terminalId="); sb.append(str2); sb.append(", orderReference="); sb.append(str3); sb.append(", paymentAmount="); sb.append(d); sb.append(")"); return sb.toString(); } public final int hashCode() { String str = this.d; int hashCode = str == null ? 0 : str.hashCode(); String str2 = this.b; int hashCode2 = str2 == null ? 0 : str2.hashCode(); String str3 = this.e; int hashCode3 = str3 == null ? 0 : str3.hashCode(); Double d = this.c; return (((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + (d != null ? d.hashCode() : 0); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof HJ)) { return false; } HJ hj = (HJ) obj; return C14957gcv.b((Object) this.d, (Object) hj.d) && C14957gcv.b((Object) this.b, (Object) hj.b) && C14957gcv.b((Object) this.e, (Object) hj.e) && C14957gcv.b(this.c, hj.c); } }