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

193 lines
6.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.Gs, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0444Gs extends C0436Gn implements Parcelable {
public static final Parcelable.Creator<C0444Gs> CREATOR = new Sts();
public final double a;
public final String b;
public final String c;
public final String d;
public final C0456Gz e;
public final double f;
public final List<GH> g;
public final String h;
public final double i;
public final double j;
public final String n;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public C0444Gs(List<GH> list, C0456Gz c0456Gz, String str, String str2, double d, double d2, double d3, double d4, String str3, String str4, String str5) {
super(str, str2, d, d2, d3, d4);
C14957gcv.e(c0456Gz, "");
this.g = list;
this.e = c0456Gz;
this.h = str;
this.c = str2;
this.j = d;
this.i = d2;
this.f = d3;
this.a = d4;
this.d = str3;
this.n = str4;
this.b = str5;
}
/* renamed from: o.Gs$Sts */
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<C0444Gs> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0444Gs createFromParcel(Parcel parcel) {
ArrayList arrayList;
C14957gcv.e(parcel, "");
if (parcel.readInt() == 0) {
arrayList = null;
} else {
int readInt = parcel.readInt();
ArrayList arrayList2 = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList2.add(GH.CREATOR.createFromParcel(parcel));
}
arrayList = arrayList2;
}
return new C0444Gs(arrayList, C0456Gz.CREATOR.createFromParcel(parcel), parcel.readString(), parcel.readString(), parcel.readDouble(), parcel.readDouble(), parcel.readDouble(), parcel.readDouble(), parcel.readString(), parcel.readString(), parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0444Gs[] newArray(int i) {
return new C0444Gs[i];
}
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0444Gs)) {
return false;
}
C0444Gs c0444Gs = (C0444Gs) obj;
return C14957gcv.b(this.g, c0444Gs.g) && C14957gcv.b(this.e, c0444Gs.e) && C14957gcv.b((Object) this.h, (Object) c0444Gs.h) && C14957gcv.b((Object) this.c, (Object) c0444Gs.c) && Double.compare(this.j, c0444Gs.j) == 0 && Double.compare(this.i, c0444Gs.i) == 0 && Double.compare(this.f, c0444Gs.f) == 0 && Double.compare(this.a, c0444Gs.a) == 0 && C14957gcv.b((Object) this.d, (Object) c0444Gs.d) && C14957gcv.b((Object) this.n, (Object) c0444Gs.n) && C14957gcv.b((Object) this.b, (Object) c0444Gs.b);
}
public final int hashCode() {
List<GH> list = this.g;
int hashCode = list == null ? 0 : list.hashCode();
int hashCode2 = this.e.hashCode();
String str = this.h;
int hashCode3 = str == null ? 0 : str.hashCode();
String str2 = this.c;
int hashCode4 = str2 == null ? 0 : str2.hashCode();
int hashCode5 = Double.hashCode(this.j);
int hashCode6 = Double.hashCode(this.i);
int hashCode7 = Double.hashCode(this.f);
int hashCode8 = Double.hashCode(this.a);
String str3 = this.d;
int hashCode9 = str3 == null ? 0 : str3.hashCode();
String str4 = this.n;
int hashCode10 = str4 == null ? 0 : str4.hashCode();
String str5 = this.b;
return (((((((((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + hashCode7) * 31) + hashCode8) * 31) + hashCode9) * 31) + hashCode10) * 31) + (str5 != null ? str5.hashCode() : 0);
}
public final String toString() {
List<GH> list = this.g;
C0456Gz c0456Gz = this.e;
String str = this.h;
String str2 = this.c;
double d = this.j;
double d2 = this.i;
double d3 = this.f;
double d4 = this.a;
String str3 = this.d;
String str4 = this.n;
String str5 = this.b;
StringBuilder sb = new StringBuilder("DeejungPlanResponseDisplay(transactions=");
sb.append(list);
sb.append(", status=");
sb.append(c0456Gz);
sb.append(", term=");
sb.append(str);
sb.append(", monthlyRate=");
sb.append(str2);
sb.append(", totalPrincipal=");
sb.append(d);
sb.append(", totalInterest=");
sb.append(d2);
sb.append(", totalPayment=");
sb.append(d3);
sb.append(", monthlyPayment=");
sb.append(d4);
sb.append(", loanId=");
sb.append(str3);
sb.append(", yearlyRate=");
sb.append(str4);
sb.append(", installmentType=");
sb.append(str5);
sb.append(")");
return sb.toString();
}
@Override // o.C0436Gn, android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
List<GH> list = this.g;
if (list == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(list.size());
Iterator<GH> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
this.e.writeToParcel(parcel, i);
parcel.writeString(this.h);
parcel.writeString(this.c);
parcel.writeDouble(this.j);
parcel.writeDouble(this.i);
parcel.writeDouble(this.f);
parcel.writeDouble(this.a);
parcel.writeString(this.d);
parcel.writeString(this.n);
parcel.writeString(this.b);
}
@Override // o.C0436Gn
public final double g() {
return this.j;
}
@Override // o.C0436Gn
public final double b() {
return this.f;
}
@Override // o.C0436Gn
public final double a() {
return this.i;
}
@Override // o.C0436Gn
public final String e() {
return this.h;
}
@Override // o.C0436Gn
public final String d() {
return this.c;
}
@Override // o.C0436Gn
public final double c() {
return this.a;
}
}