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

86 lines
2.5 KiB
Java

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