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

74 lines
2.4 KiB
Java

package o;
/* loaded from: classes3.dex */
public final class sJm {
public final String a;
public final double b;
public final double c;
public final String d;
public final String e;
public final String f;
public final String g;
public final double i;
public sJm(String str, double d, double d2, String str2, String str3, double d3, String str4, String str5) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
C14957gcv.e(str5, "");
this.a = str;
this.b = d;
this.c = d2;
this.d = str2;
this.e = str3;
this.i = d3;
this.f = str4;
this.g = str5;
}
public final String toString() {
String str = this.a;
double d = this.b;
double d2 = this.c;
String str2 = this.d;
String str3 = this.e;
double d3 = this.i;
String str4 = this.f;
String str5 = this.g;
StringBuilder sb = new StringBuilder("TxnDetails(conversionRate=");
sb.append(str);
sb.append(", amountFrom=");
sb.append(d);
sb.append(", amountTo=");
sb.append(d2);
sb.append(", currencyCodeFrom=");
sb.append(str2);
sb.append(", currencyCodeTo=");
sb.append(str3);
sb.append(", fee=");
sb.append(d3);
sb.append(", feeCurrencyCode=");
sb.append(str4);
sb.append(", details=");
sb.append(str5);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((((((((((((this.a.hashCode() * 31) + Double.hashCode(this.b)) * 31) + Double.hashCode(this.c)) * 31) + this.d.hashCode()) * 31) + this.e.hashCode()) * 31) + Double.hashCode(this.i)) * 31) + this.f.hashCode()) * 31) + this.g.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof sJm)) {
return false;
}
sJm sjm = (sJm) obj;
return C14957gcv.b((Object) this.a, (Object) sjm.a) && Double.compare(this.b, sjm.b) == 0 && Double.compare(this.c, sjm.c) == 0 && C14957gcv.b((Object) this.d, (Object) sjm.d) && C14957gcv.b((Object) this.e, (Object) sjm.e) && Double.compare(this.i, sjm.i) == 0 && C14957gcv.b((Object) this.f, (Object) sjm.f) && C14957gcv.b((Object) this.g, (Object) sjm.g);
}
}