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

100 lines
3.1 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Kh, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0597Kh implements Parcelable {
public static final Parcelable.Creator<C0597Kh> CREATOR = new LWm();
public final boolean a;
public final String b;
public final String c;
public final int d;
public int e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0597Kh(String str, String str2, int i, boolean z, int i2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.c = str;
this.b = str2;
this.d = i;
this.a = z;
this.e = i2;
}
/* renamed from: o.Kh$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C0597Kh> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0597Kh createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C0597Kh(parcel.readString(), parcel.readString(), parcel.readInt(), parcel.readInt() != 0, parcel.readInt());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0597Kh[] newArray(int i) {
return new C0597Kh[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.c);
parcel.writeString(this.b);
parcel.writeInt(this.d);
parcel.writeInt(this.a ? 1 : 0);
parcel.writeInt(this.e);
}
public final String toString() {
String str = this.c;
String str2 = this.b;
int i = this.d;
boolean z = this.a;
int i2 = this.e;
StringBuilder sb = new StringBuilder("EasycashReceivingDocOptionDisplay(nameType=");
sb.append(str);
sb.append(", typeCode=");
sb.append(str2);
sb.append(", sortOrder=");
sb.append(i);
sb.append(", isDefaultSelected=");
sb.append(z);
sb.append(", viewId=");
sb.append(i2);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = this.c.hashCode();
int hashCode2 = this.b.hashCode();
int hashCode3 = Integer.hashCode(this.d);
boolean z = this.a;
int i = z;
if (z != 0) {
i = 1;
}
return (((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + i) * 31) + Integer.hashCode(this.e);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0597Kh)) {
return false;
}
C0597Kh c0597Kh = (C0597Kh) obj;
return C14957gcv.b((Object) this.c, (Object) c0597Kh.c) && C14957gcv.b((Object) this.b, (Object) c0597Kh.b) && this.d == c0597Kh.d && this.a == c0597Kh.a && this.e == c0597Kh.e;
}
}