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

110 lines
3.6 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.ArrayList;
import java.util.Iterator;
import java.util.List;
/* renamed from: o.Go, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0437Go implements Parcelable {
public static final Parcelable.Creator<C0437Go> CREATOR = new HBt();
public final C0440Gq a;
public final List<C0444Gs> b;
public final int c;
public final String d;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0437Go(int i, String str, List<C0444Gs> list, C0440Gq c0440Gq) {
C14957gcv.e(str, "");
C14957gcv.e(list, "");
this.c = i;
this.d = str;
this.b = list;
this.a = c0440Gq;
}
/* renamed from: o.Go$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C0437Go> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0437Go createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
String readString = parcel.readString();
int readInt2 = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt2);
for (int i = 0; i != readInt2; i++) {
arrayList.add(C0444Gs.CREATOR.createFromParcel(parcel));
}
return new C0437Go(readInt, readString, arrayList, parcel.readInt() == 0 ? null : C0440Gq.CREATOR.createFromParcel(parcel));
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0437Go[] newArray(int i) {
return new C0437Go[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.c);
parcel.writeString(this.d);
List<C0444Gs> list = this.b;
parcel.writeInt(list.size());
Iterator<C0444Gs> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
C0440Gq c0440Gq = this.a;
if (c0440Gq == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
c0440Gq.writeToParcel(parcel, i);
}
}
public final String toString() {
int i = this.c;
String str = this.d;
List<C0444Gs> list = this.b;
C0440Gq c0440Gq = this.a;
StringBuilder sb = new StringBuilder("DeejungPlansDto(numberOfTransactions=");
sb.append(i);
sb.append(", totalAmount=");
sb.append(str);
sb.append(", plans=");
sb.append(list);
sb.append(", errorDisplayDto=");
sb.append(c0440Gq);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = Integer.hashCode(this.c);
int hashCode2 = this.d.hashCode();
int hashCode3 = this.b.hashCode();
C0440Gq c0440Gq = this.a;
return (((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + (c0440Gq == null ? 0 : c0440Gq.hashCode());
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0437Go)) {
return false;
}
C0437Go c0437Go = (C0437Go) obj;
return this.c == c0437Go.c && C14957gcv.b((Object) this.d, (Object) c0437Go.d) && C14957gcv.b(this.b, c0437Go.b) && C14957gcv.b(this.a, c0437Go.a);
}
}