what-the-bank/sources/o/HG.java

200 lines
6.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
/* loaded from: classes3.dex */
public final class HG implements Parcelable {
public static final Sts CREATOR = new Sts(0);
public final String a;
public final Double b;
public final String c;
public final Integer d;
public final List<HO> e;
public final String g;
public final List<HO> i;
public final Integer j;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public HG(List<HO> list, List<HO> list2, Integer num, Integer num2, String str, String str2, String str3, Double d) {
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
this.e = list;
this.i = list2;
this.d = num;
this.j = num2;
this.a = str;
this.g = str2;
this.c = str3;
this.b = 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 HG(android.os.Parcel r11) {
/*
r10 = this;
java.lang.String r0 = ""
o.C14957gcv.e(r11, r0)
o.HO$HBt r0 = o.HO.CREATOR
android.os.Parcelable$Creator r0 = (android.os.Parcelable.Creator) r0
java.util.ArrayList r0 = r11.createTypedArrayList(r0)
java.util.List r0 = (java.util.List) r0
if (r0 != 0) goto L15
o.gaI r0 = o.C14851gaI.c
java.util.List r0 = (java.util.List) r0
L15:
r2 = r0
o.HO$HBt r0 = o.HO.CREATOR
android.os.Parcelable$Creator r0 = (android.os.Parcelable.Creator) r0
java.util.ArrayList r0 = r11.createTypedArrayList(r0)
java.util.List r0 = (java.util.List) r0
if (r0 != 0) goto L26
o.gaI r0 = o.C14851gaI.c
java.util.List r0 = (java.util.List) r0
L26:
r3 = r0
java.lang.Class r0 = java.lang.Integer.TYPE
java.lang.ClassLoader r0 = r0.getClassLoader()
java.lang.Object r0 = r11.readValue(r0)
boolean r1 = r0 instanceof java.lang.Integer
r4 = 0
if (r1 == 0) goto L39
java.lang.Integer r0 = (java.lang.Integer) r0
goto L3a
L39:
r0 = r4
L3a:
java.lang.Class r1 = java.lang.Integer.TYPE
java.lang.ClassLoader r1 = r1.getClassLoader()
java.lang.Object r1 = r11.readValue(r1)
boolean r5 = r1 instanceof java.lang.Integer
if (r5 == 0) goto L4c
java.lang.Integer r1 = (java.lang.Integer) r1
r5 = r1
goto L4d
L4c:
r5 = r4
L4d:
java.lang.String r6 = r11.readString()
java.lang.String r7 = r11.readString()
java.lang.String r8 = r11.readString()
java.lang.Class r1 = java.lang.Double.TYPE
java.lang.ClassLoader r1 = r1.getClassLoader()
java.lang.Object r11 = r11.readValue(r1)
boolean r1 = r11 instanceof java.lang.Double
if (r1 == 0) goto L6b
java.lang.Double r11 = (java.lang.Double) r11
r9 = r11
goto L6c
L6b:
r9 = r4
L6c:
r1 = r10
r4 = r0
r1.<init>(r2, r3, r4, r5, r6, r7, r8, r9)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.HG.<init>(android.os.Parcel):void");
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeTypedList(this.e);
parcel.writeTypedList(this.i);
parcel.writeValue(this.d);
parcel.writeValue(this.j);
parcel.writeString(this.a);
parcel.writeString(this.g);
parcel.writeString(this.c);
parcel.writeValue(this.b);
}
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<HG> {
private Sts() {
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ HG createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new HG(parcel);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ HG[] newArray(int i) {
return new HG[i];
}
public /* synthetic */ Sts(byte b) {
this();
}
}
public final String toString() {
List<HO> list = this.e;
List<HO> list2 = this.i;
Integer num = this.d;
Integer num2 = this.j;
String str = this.a;
String str2 = this.g;
String str3 = this.c;
Double d = this.b;
StringBuilder sb = new StringBuilder("CreditCardInstallmentDisplay(creditCardInstallmentPlans=");
sb.append(list);
sb.append(", speedyCashInstallmentPlans=");
sb.append(list2);
sb.append(", creditCardDefaultTenor=");
sb.append(num);
sb.append(", speedyCashDefaultTenor=");
sb.append(num2);
sb.append(", 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() {
int hashCode = this.e.hashCode();
int hashCode2 = this.i.hashCode();
Integer num = this.d;
int hashCode3 = num == null ? 0 : num.hashCode();
Integer num2 = this.j;
int hashCode4 = num2 == null ? 0 : num2.hashCode();
String str = this.a;
int hashCode5 = str == null ? 0 : str.hashCode();
String str2 = this.g;
int hashCode6 = str2 == null ? 0 : str2.hashCode();
String str3 = this.c;
int hashCode7 = str3 == null ? 0 : str3.hashCode();
Double d = this.b;
return (((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + hashCode7) * 31) + (d != null ? d.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof HG)) {
return false;
}
HG hg = (HG) obj;
return C14957gcv.b(this.e, hg.e) && C14957gcv.b(this.i, hg.i) && C14957gcv.b(this.d, hg.d) && C14957gcv.b(this.j, hg.j) && C14957gcv.b((Object) this.a, (Object) hg.a) && C14957gcv.b((Object) this.g, (Object) hg.g) && C14957gcv.b((Object) this.c, (Object) hg.c) && C14957gcv.b(this.b, hg.b);
}
}