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

115 lines
3.8 KiB
Java

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.Gi, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0425Gi implements Parcelable {
public static final Parcelable.Creator<C0425Gi> CREATOR = new RVV();
private final C0451Gw a;
public final Integer c;
public final List<C0419Ge> d;
private final String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0425Gi(List<C0419Ge> list, Integer num, C0451Gw c0451Gw, String str) {
C14957gcv.e(list, "");
this.d = list;
this.c = num;
this.a = c0451Gw;
this.e = str;
}
/* renamed from: o.Gi$RVV */
/* loaded from: classes3.dex */
public static final class RVV implements Parcelable.Creator<C0425Gi> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0425Gi createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(C0419Ge.CREATOR.createFromParcel(parcel));
}
return new C0425Gi(arrayList, parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()), parcel.readInt() != 0 ? C0451Gw.CREATOR.createFromParcel(parcel) : null, parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0425Gi[] newArray(int i) {
return new C0425Gi[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
List<C0419Ge> list = this.d;
parcel.writeInt(list.size());
Iterator<C0419Ge> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
Integer num = this.c;
if (num == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeInt(num.intValue());
}
C0451Gw c0451Gw = this.a;
if (c0451Gw == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
c0451Gw.writeToParcel(parcel, i);
}
parcel.writeString(this.e);
}
public final String toString() {
List<C0419Ge> list = this.d;
Integer num = this.c;
C0451Gw c0451Gw = this.a;
String str = this.e;
StringBuilder sb = new StringBuilder("CardTransactionsDto(transactions=");
sb.append(list);
sb.append(", maxSelectableForDeejungInstallments=");
sb.append(num);
sb.append(", nextPage=");
sb.append(c0451Gw);
sb.append(", termAndCon=");
sb.append(str);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = this.d.hashCode();
Integer num = this.c;
int hashCode2 = num == null ? 0 : num.hashCode();
C0451Gw c0451Gw = this.a;
int hashCode3 = c0451Gw == null ? 0 : c0451Gw.hashCode();
String str = this.e;
return (((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + (str != null ? str.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0425Gi)) {
return false;
}
C0425Gi c0425Gi = (C0425Gi) obj;
return C14957gcv.b(this.d, c0425Gi.d) && C14957gcv.b(this.c, c0425Gi.c) && C14957gcv.b(this.a, c0425Gi.a) && C14957gcv.b((Object) this.e, (Object) c0425Gi.e);
}
}