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

97 lines
2.8 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes3.dex */
public final class WC implements Parcelable {
public static final Parcelable.Creator<WC> CREATOR = new Sts();
public final String c;
public final String d;
public final boolean e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public WC(String str, String str2, boolean z) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.d = str;
this.c = str2;
this.e = z;
}
public /* synthetic */ WC(String str, String str2) {
this(str, str2, false);
}
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<WC> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ WC createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new WC(parcel.readString(), parcel.readString(), parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ WC[] newArray(int i) {
return new WC[i];
}
}
public static /* synthetic */ WC a(WC wc, boolean z) {
String str = wc.d;
String str2 = wc.c;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
return new WC(str, str2, z);
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.d);
parcel.writeString(this.c);
parcel.writeInt(this.e ? 1 : 0);
}
public final String toString() {
String str = this.d;
String str2 = this.c;
boolean z = this.e;
StringBuilder sb = new StringBuilder("SingleFormSourceOfIncomeDisplay(sourceOfIncomeDescription=");
sb.append(str);
sb.append(", sourceOfIncome=");
sb.append(str2);
sb.append(", isSelected=");
sb.append(z);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = this.d.hashCode();
int hashCode2 = this.c.hashCode();
boolean z = this.e;
int i = z;
if (z != 0) {
i = 1;
}
return (((hashCode * 31) + hashCode2) * 31) + i;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof WC)) {
return false;
}
WC wc = (WC) obj;
return C14957gcv.b((Object) this.d, (Object) wc.d) && C14957gcv.b((Object) this.c, (Object) wc.c) && this.e == wc.e;
}
}