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

126 lines
4.4 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Yx, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C1249Yx implements Parcelable {
public static final Parcelable.Creator<C1249Yx> CREATOR = new HBt();
public final String a;
public final String b;
public final String c;
public final double d;
public String e;
public final qhK h;
public final PWw i;
public final String j;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C1249Yx(qhK qhk, String str, String str2, PWw pWw, String str3, String str4, String str5, double d) {
C14957gcv.e(qhk, "");
C14957gcv.e(str, "");
this.h = qhk;
this.e = str;
this.c = str2;
this.i = pWw;
this.j = str3;
this.b = str4;
this.a = str5;
this.d = d;
}
/* renamed from: o.Yx$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C1249Yx> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C1249Yx createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C1249Yx(qhK.valueOf(parcel.readString()), parcel.readString(), parcel.readString(), parcel.readInt() == 0 ? null : PWw.valueOf(parcel.readString()), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readDouble());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C1249Yx[] newArray(int i) {
return new C1249Yx[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.h.name());
parcel.writeString(this.e);
parcel.writeString(this.c);
PWw pWw = this.i;
if (pWw == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
parcel.writeString(pWw.name());
}
parcel.writeString(this.j);
parcel.writeString(this.b);
parcel.writeString(this.a);
parcel.writeDouble(this.d);
}
public final String toString() {
qhK qhk = this.h;
String str = this.e;
String str2 = this.c;
PWw pWw = this.i;
String str3 = this.j;
String str4 = this.b;
String str5 = this.a;
double d = this.d;
StringBuilder sb = new StringBuilder("TransferGiftingInputDisplay(transferType=");
sb.append(qhk);
sb.append(", accountFrom=");
sb.append(str);
sb.append(", accountTo=");
sb.append(str2);
sb.append(", promptPayType=");
sb.append(pWw);
sb.append(", promptPayID=");
sb.append(str3);
sb.append(", accountToBankCode=");
sb.append(str4);
sb.append(", favoriteName=");
sb.append(str5);
sb.append(", amount=");
sb.append(d);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = this.h.hashCode();
int hashCode2 = this.e.hashCode();
String str = this.c;
int hashCode3 = str == null ? 0 : str.hashCode();
PWw pWw = this.i;
int hashCode4 = pWw == null ? 0 : pWw.hashCode();
String str2 = this.j;
int hashCode5 = str2 == null ? 0 : str2.hashCode();
String str3 = this.b;
int hashCode6 = str3 == null ? 0 : str3.hashCode();
String str4 = this.a;
return (((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + (str4 != null ? str4.hashCode() : 0)) * 31) + Double.hashCode(this.d);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C1249Yx)) {
return false;
}
C1249Yx c1249Yx = (C1249Yx) obj;
return this.h == c1249Yx.h && C14957gcv.b((Object) this.e, (Object) c1249Yx.e) && C14957gcv.b((Object) this.c, (Object) c1249Yx.c) && this.i == c1249Yx.i && C14957gcv.b((Object) this.j, (Object) c1249Yx.j) && C14957gcv.b((Object) this.b, (Object) c1249Yx.b) && C14957gcv.b((Object) this.a, (Object) c1249Yx.a) && Double.compare(this.d, c1249Yx.d) == 0;
}
}