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

120 lines
4.0 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Gu, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0449Gu implements Parcelable {
public static final Parcelable.Creator<C0449Gu> CREATOR = new LWm();
public String a;
public String b;
public String c;
public double d;
public String e;
public double i;
public String j;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0449Gu(String str, double d, String str2, String str3, String str4, double d2, String str5) {
this.a = str;
this.d = d;
this.e = str2;
this.j = str3;
this.c = str4;
this.i = d2;
this.b = str5;
}
public /* synthetic */ C0449Gu(byte b) {
this("", 0.0d, "", "", "", 0.0d, "");
}
/* renamed from: o.Gu$LWm */
/* loaded from: classes3.dex */
public static final class LWm implements Parcelable.Creator<C0449Gu> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0449Gu createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C0449Gu(parcel.readString(), parcel.readDouble(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readDouble(), parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0449Gu[] newArray(int i) {
return new C0449Gu[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.a);
parcel.writeDouble(this.d);
parcel.writeString(this.e);
parcel.writeString(this.j);
parcel.writeString(this.c);
parcel.writeDouble(this.i);
parcel.writeString(this.b);
}
public final String toString() {
String str = this.a;
double d = this.d;
String str2 = this.e;
String str3 = this.j;
String str4 = this.c;
double d2 = this.i;
String str5 = this.b;
StringBuilder sb = new StringBuilder("MerchantPaymentDetail(merchantName=");
sb.append(str);
sb.append(", totalAmount=");
sb.append(d);
sb.append(", microRef=");
sb.append(str2);
sb.append(", transDate=");
sb.append(str3);
sb.append(", postDate=");
sb.append(str4);
sb.append(", transactionAmount=");
sb.append(d2);
sb.append(", formattedTotalAmount=");
sb.append(str5);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
String str = this.a;
int hashCode = str == null ? 0 : str.hashCode();
int hashCode2 = Double.hashCode(this.d);
String str2 = this.e;
int hashCode3 = str2 == null ? 0 : str2.hashCode();
String str3 = this.j;
int hashCode4 = str3 == null ? 0 : str3.hashCode();
String str4 = this.c;
int hashCode5 = str4 == null ? 0 : str4.hashCode();
int hashCode6 = Double.hashCode(this.i);
String str5 = this.b;
return (((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + (str5 != null ? str5.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0449Gu)) {
return false;
}
C0449Gu c0449Gu = (C0449Gu) obj;
return C14957gcv.b((Object) this.a, (Object) c0449Gu.a) && Double.compare(this.d, c0449Gu.d) == 0 && C14957gcv.b((Object) this.e, (Object) c0449Gu.e) && C14957gcv.b((Object) this.j, (Object) c0449Gu.j) && C14957gcv.b((Object) this.c, (Object) c0449Gu.c) && Double.compare(this.i, c0449Gu.i) == 0 && C14957gcv.b((Object) this.b, (Object) c0449Gu.b);
}
public C0449Gu() {
this((byte) 0);
}
}