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

80 lines
2.4 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Yh, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C1221Yh implements Parcelable {
public static final Parcelable.Creator<C1221Yh> CREATOR = new LWm();
public final String a;
public final String c;
public final String d;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C1221Yh(String str, String str2, String str3) {
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
this.d = str;
this.a = str2;
this.c = str3;
}
/* renamed from: o.Yh$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C1221Yh> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C1221Yh createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C1221Yh(parcel.readString(), parcel.readString(), parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C1221Yh[] newArray(int i) {
return new C1221Yh[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.d);
parcel.writeString(this.a);
parcel.writeString(this.c);
}
public final String toString() {
String str = this.d;
String str2 = this.a;
String str3 = this.c;
StringBuilder sb = new StringBuilder("AccountToDisplay(logo=");
sb.append(str);
sb.append(", name=");
sb.append(str2);
sb.append(", merchantId=");
sb.append(str3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.d;
return ((((str == null ? 0 : str.hashCode()) * 31) + this.a.hashCode()) * 31) + this.c.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C1221Yh)) {
return false;
}
C1221Yh c1221Yh = (C1221Yh) obj;
return C14957gcv.b((Object) this.d, (Object) c1221Yh.d) && C14957gcv.b((Object) this.a, (Object) c1221Yh.a) && C14957gcv.b((Object) this.c, (Object) c1221Yh.c);
}
}