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 TO implements Parcelable { public static final Parcelable.Creator CREATOR = new HBt(); public final List b; @Override // android.os.Parcelable public final int describeContents() { return 0; } public TO(List list) { C14957gcv.e(list, ""); this.b = list; } /* loaded from: classes3.dex */ public static final class HBt implements Parcelable.Creator { @Override // android.os.Parcelable.Creator public final /* synthetic */ TO createFromParcel(Parcel parcel) { C14957gcv.e(parcel, ""); int readInt = parcel.readInt(); ArrayList arrayList = new ArrayList(readInt); for (int i = 0; i != readInt; i++) { arrayList.add(parcel.readParcelable(TO.class.getClassLoader())); } return new TO(arrayList); } @Override // android.os.Parcelable.Creator public final /* bridge */ /* synthetic */ TO[] newArray(int i) { return new TO[i]; } } @Override // android.os.Parcelable public final void writeToParcel(Parcel parcel, int i) { C14957gcv.e(parcel, ""); List list = this.b; parcel.writeInt(list.size()); Iterator it = list.iterator(); while (it.hasNext()) { parcel.writeParcelable(it.next(), i); } } public final String toString() { List list = this.b; StringBuilder sb = new StringBuilder("AdditionalMetaDataDisplay(paymentInfo="); sb.append(list); sb.append(")"); return sb.toString(); } public final int hashCode() { return this.b.hashCode(); } public final boolean equals(Object obj) { if (this == obj) { return true; } return (obj instanceof TO) && C14957gcv.b(this.b, ((TO) obj).b); } }