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 LZ extends EQ { public static final Parcelable.Creator CREATOR = new RVV(); public final List a; public final int b; public final String c; public LZ(int i, String str, List list) { C14957gcv.e(str, ""); C14957gcv.e(list, ""); this.b = i; this.c = str; this.a = list; } /* loaded from: classes3.dex */ public static final class RVV implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ LZ 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(LS.CREATOR.createFromParcel(parcel)); } return new LZ(readInt, readString, arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ LZ[] newArray(int i) { return new LZ[i]; } } @Override // o.EQ, android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); parcel.writeInt(this.b); parcel.writeString(this.c); List list = this.a; parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { it.next().writeToParcel(parcel, i); } } public final String toString() { int i = this.b; String str = this.c; List list = this.a; StringBuilder sb = new StringBuilder("EasycashSalesheetHeaderDisplay(headerSequence="); sb.append(i); sb.append(", headerName="); sb.append(str); sb.append(", easycashSalesheetDisplays="); sb.append(list); sb.append(")"); return sb.toString(); } public final int hashCode() { return (((Integer.hashCode(this.b) * 31) + this.c.hashCode()) * 31) + this.a.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof LZ)) { return false; } LZ lz = (LZ) obj; return this.b == lz.b && C14957gcv.b((Object) this.c, (Object) lz.c) && C14957gcv.b(this.a, lz.a); } }