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.Hn, reason: case insensitive filesystem */ /* loaded from: classes3.dex */ public final class C0479Hn implements Parcelable { public static final Parcelable.Creator CREATOR = new RVV(); private final int c; public final C0478Hm d; public final List e; @Override // android.os.Parcelable public final int describeContents() { return 0; } public C0479Hn(int i, List list, C0478Hm c0478Hm) { C14957gcv.e(list, ""); C14957gcv.e(c0478Hm, ""); this.c = i; this.e = list; this.d = c0478Hm; } /* renamed from: o.Hn$RVV */ /* loaded from: classes3.dex */ public static final class RVV implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ C0479Hn createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); int readInt = parcel.readInt(); int readInt2 = parcel.readInt(); ArrayList arrayList = new ArrayList(readInt2); for (int i = 0; i != readInt2; i++) { arrayList.add(C0484Hp.CREATOR.createFromParcel(parcel)); } return new C0479Hn(readInt, arrayList, C0478Hm.CREATOR.createFromParcel(parcel)); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ C0479Hn[] newArray(int i) { return new C0479Hn[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeInt(this.c); List list = this.e; parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } this.d.writeToParcel(parcel, i); } public final String toString() { int i = this.c; List list = this.e; C0478Hm c0478Hm = this.d; StringBuilder sb = new StringBuilder("ECouponTransactionDisplay(numOfTransaction="); sb.append(i); sb.append(", transactions="); sb.append(list); sb.append(", pagination="); sb.append(c0478Hm); sb.append(")"); return sb.toString(); } public final int hashCode() { return (((Integer.hashCode(this.c) * 31) + this.e.hashCode()) * 31) + this.d.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof C0479Hn)) { return false; } C0479Hn c0479Hn = (C0479Hn) obj; return this.c == c0479Hn.c && C14957gcv.b(this.e, c0479Hn.e) && C14957gcv.b(this.d, c0479Hn.d); } }