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

134 lines
4.6 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.Mx, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0714Mx implements Parcelable {
public static final Parcelable.Creator<C0714Mx> CREATOR = new HBt();
public final int a;
public final int b;
public final String c;
public final List<C0713Mw> d;
public final int e;
private final String h;
public final String i;
public final int j;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0714Mx(String str, String str2, int i, String str3, int i2, int i3, int i4, List<C0713Mw> list) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(list, "");
this.i = str;
this.c = str2;
this.j = i;
this.h = str3;
this.a = i2;
this.b = i3;
this.e = i4;
this.d = list;
}
/* renamed from: o.Mx$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C0714Mx> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0714Mx createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
String readString = parcel.readString();
String readString2 = parcel.readString();
int readInt = parcel.readInt();
String readString3 = parcel.readString();
int readInt2 = parcel.readInt();
int readInt3 = parcel.readInt();
int readInt4 = parcel.readInt();
int readInt5 = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt5);
for (int i = 0; i != readInt5; i++) {
arrayList.add(C0713Mw.CREATOR.createFromParcel(parcel));
}
return new C0714Mx(readString, readString2, readInt, readString3, readInt2, readInt3, readInt4, arrayList);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0714Mx[] newArray(int i) {
return new C0714Mx[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.i);
parcel.writeString(this.c);
parcel.writeInt(this.j);
parcel.writeString(this.h);
parcel.writeInt(this.a);
parcel.writeInt(this.b);
parcel.writeInt(this.e);
List<C0713Mw> list = this.d;
parcel.writeInt(list.size());
Iterator<C0713Mw> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
}
public final String toString() {
String str = this.i;
String str2 = this.c;
int i = this.j;
String str3 = this.h;
int i2 = this.a;
int i3 = this.b;
int i4 = this.e;
List<C0713Mw> list = this.d;
StringBuilder sb = new StringBuilder("ProductDetailDisplay(subAttribute=");
sb.append(str);
sb.append(", productCode=");
sb.append(str2);
sb.append(", sortSequence=");
sb.append(i);
sb.append(", defaultFlag=");
sb.append(str3);
sb.append(", minAmount=");
sb.append(i2);
sb.append(", maxAmount=");
sb.append(i3);
sb.append(", incrementalAmount=");
sb.append(i4);
sb.append(", longDesc=");
sb.append(list);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = this.i.hashCode();
int hashCode2 = this.c.hashCode();
int hashCode3 = Integer.hashCode(this.j);
String str = this.h;
return (((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + (str == null ? 0 : str.hashCode())) * 31) + Integer.hashCode(this.a)) * 31) + Integer.hashCode(this.b)) * 31) + Integer.hashCode(this.e)) * 31) + this.d.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0714Mx)) {
return false;
}
C0714Mx c0714Mx = (C0714Mx) obj;
return C14957gcv.b((Object) this.i, (Object) c0714Mx.i) && C14957gcv.b((Object) this.c, (Object) c0714Mx.c) && this.j == c0714Mx.j && C14957gcv.b((Object) this.h, (Object) c0714Mx.h) && this.a == c0714Mx.a && this.b == c0714Mx.b && this.e == c0714Mx.e && C14957gcv.b(this.d, c0714Mx.d);
}
}