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

125 lines
4.2 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes3.dex */
public final class HF implements Parcelable {
public static final Parcelable.Creator<HF> CREATOR = new IeS();
private final List<HD> a;
public final String b;
private final String c;
private final String d;
public final ArrayList<HB> e;
private final int f;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public HF(List<HD> list, String str, int i, String str2, ArrayList<HB> arrayList, String str3) {
C14957gcv.e(list, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(arrayList, "");
C14957gcv.e(str3, "");
this.a = list;
this.c = str;
this.f = i;
this.d = str2;
this.e = arrayList;
this.b = str3;
}
/* loaded from: classes3.dex */
public static final class IeS implements Parcelable.Creator<HF> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ HF createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(HD.CREATOR.createFromParcel(parcel));
}
ArrayList arrayList2 = arrayList;
String readString = parcel.readString();
int readInt2 = parcel.readInt();
String readString2 = parcel.readString();
int readInt3 = parcel.readInt();
ArrayList arrayList3 = new ArrayList(readInt3);
for (int i2 = 0; i2 != readInt3; i2++) {
arrayList3.add(HB.CREATOR.createFromParcel(parcel));
}
return new HF(arrayList2, readString, readInt2, readString2, arrayList3, parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ HF[] newArray(int i) {
return new HF[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
List<HD> list = this.a;
parcel.writeInt(list.size());
Iterator<HD> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
parcel.writeString(this.c);
parcel.writeInt(this.f);
parcel.writeString(this.d);
ArrayList<HB> arrayList = this.e;
parcel.writeInt(arrayList.size());
Iterator<HB> it2 = arrayList.iterator();
while (it2.hasNext()) {
it2.next().writeToParcel(parcel, i);
}
parcel.writeString(this.b);
}
public final String toString() {
List<HD> list = this.a;
String str = this.c;
int i = this.f;
String str2 = this.d;
ArrayList<HB> arrayList = this.e;
String str3 = this.b;
StringBuilder sb = new StringBuilder("PointToPayTransactionDisplay(pointToPayTransactionList=");
sb.append(list);
sb.append(", description=");
sb.append(str);
sb.append(", rewardPoints=");
sb.append(i);
sb.append(", formattedRewardPoints=");
sb.append(str2);
sb.append(", pointToPayTransactionLandingDisplay=");
sb.append(arrayList);
sb.append(", termAndCon=");
sb.append(str3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((((((((this.a.hashCode() * 31) + this.c.hashCode()) * 31) + Integer.hashCode(this.f)) * 31) + this.d.hashCode()) * 31) + this.e.hashCode()) * 31) + this.b.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof HF)) {
return false;
}
HF hf = (HF) obj;
return C14957gcv.b(this.a, hf.a) && C14957gcv.b((Object) this.c, (Object) hf.c) && this.f == hf.f && C14957gcv.b((Object) this.d, (Object) hf.d) && C14957gcv.b(this.e, hf.e) && C14957gcv.b((Object) this.b, (Object) hf.b);
}
}