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

188 lines
5.6 KiB
Java

package o;
import com.google.gson.annotations.SerializedName;
/* renamed from: o.dxJ, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C10146dxJ extends Pag {
@SerializedName("conversionRate")
public final Sts a;
@SerializedName("fromAmount")
public final double b;
@SerializedName("fromCurrency")
public final RVV c;
@SerializedName("cardRefNo")
public final String d;
@SerializedName("toAmount")
public final double f;
@SerializedName("isRateChangedFlag")
public final String g;
@SerializedName("toCurrency")
public final RVV i;
@SerializedName("transactionToken")
public final String j;
public C10146dxJ(String str, String str2, double d, double d2, RVV rvv, RVV rvv2, Sts sts, String str3) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(rvv, "");
C14957gcv.e(rvv2, "");
C14957gcv.e(sts, "");
this.d = str;
this.j = str2;
this.b = d;
this.f = d2;
this.c = rvv;
this.i = rvv2;
this.a = sts;
this.g = str3;
}
/* renamed from: o.dxJ$RVV */
/* loaded from: classes3.dex */
public static final class RVV {
@SerializedName("currency")
public final String b;
@SerializedName("currencyName")
public final String d;
public RVV(String str, String str2) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.b = str;
this.d = str2;
}
public final String toString() {
String str = this.b;
String str2 = this.d;
StringBuilder sb = new StringBuilder("Currency(currency=");
sb.append(str);
sb.append(", currencyName=");
sb.append(str2);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (this.b.hashCode() * 31) + this.d.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof RVV)) {
return false;
}
RVV rvv = (RVV) obj;
return C14957gcv.b((Object) this.b, (Object) rvv.b) && C14957gcv.b((Object) this.d, (Object) rvv.d);
}
}
/* renamed from: o.dxJ$Sts */
/* loaded from: classes3.dex */
public static final class Sts {
@SerializedName("description")
public final String b;
@SerializedName("rate")
public final double e;
public Sts(double d, String str) {
C14957gcv.e(str, "");
this.e = d;
this.b = str;
}
public final String toString() {
double d = this.e;
String str = this.b;
StringBuilder sb = new StringBuilder("ConversionRate(rate=");
sb.append(d);
sb.append(", description=");
sb.append(str);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (Double.hashCode(this.e) * 31) + this.b.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof Sts)) {
return false;
}
Sts sts = (Sts) obj;
return Double.compare(this.e, sts.e) == 0 && C14957gcv.b((Object) this.b, (Object) sts.b);
}
}
public final String toString() {
String str = this.d;
String str2 = this.j;
double d = this.b;
double d2 = this.f;
RVV rvv = this.c;
RVV rvv2 = this.i;
Sts sts = this.a;
String str3 = this.g;
StringBuilder sb = new StringBuilder("PrepaidTravelConversionVerification(cardRefNo=");
sb.append(str);
sb.append(", transactionToken=");
sb.append(str2);
sb.append(", fromAmount=");
sb.append(d);
sb.append(", toAmount=");
sb.append(d2);
sb.append(", fromCurrency=");
sb.append(rvv);
sb.append(", toCurrency=");
sb.append(rvv2);
sb.append(", conversionRate=");
sb.append(sts);
sb.append(", isRateChangedFlag=");
sb.append(str3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = this.d.hashCode();
int hashCode2 = this.j.hashCode();
int hashCode3 = Double.hashCode(this.b);
int hashCode4 = Double.hashCode(this.f);
int hashCode5 = this.c.hashCode();
int hashCode6 = this.i.hashCode();
int hashCode7 = this.a.hashCode();
String str = this.g;
return (((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + hashCode7) * 31) + (str == null ? 0 : str.hashCode());
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C10146dxJ)) {
return false;
}
C10146dxJ c10146dxJ = (C10146dxJ) obj;
return C14957gcv.b((Object) this.d, (Object) c10146dxJ.d) && C14957gcv.b((Object) this.j, (Object) c10146dxJ.j) && Double.compare(this.b, c10146dxJ.b) == 0 && Double.compare(this.f, c10146dxJ.f) == 0 && C14957gcv.b(this.c, c10146dxJ.c) && C14957gcv.b(this.i, c10146dxJ.i) && C14957gcv.b(this.a, c10146dxJ.a) && C14957gcv.b((Object) this.g, (Object) c10146dxJ.g);
}
}