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

156 lines
4.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.google.gson.annotations.SerializedName;
/* loaded from: classes3.dex */
public final class yFy extends C16562pOe {
@SerializedName("isRateChangedFlag")
public final String a;
@SerializedName("fromCurrency")
public final HBt b;
@SerializedName("cardRefNo")
public final String c;
@SerializedName("conversionRate")
public final LWm d;
@SerializedName("fromAmount")
public final double e;
@SerializedName("toCurrency")
public final HBt g;
@SerializedName("transactionToken")
public final String i;
@SerializedName("toAmount")
public final double j;
/* loaded from: classes3.dex */
public static final class HBt {
@SerializedName("currency")
public final String b;
@SerializedName("currencyName")
public final String c;
public final String toString() {
String str = this.b;
String str2 = this.c;
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.c.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof HBt)) {
return false;
}
HBt hBt = (HBt) obj;
return C14957gcv.b((Object) this.b, (Object) hBt.b) && C14957gcv.b((Object) this.c, (Object) hBt.c);
}
}
/* loaded from: classes3.dex */
public static final class LWm {
@SerializedName("description")
public final String a;
@SerializedName("rate")
public final double c;
public final String toString() {
double d = this.c;
String str = this.a;
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.c) * 31) + this.a.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof LWm)) {
return false;
}
LWm lWm = (LWm) obj;
return Double.compare(this.c, lWm.c) == 0 && C14957gcv.b((Object) this.a, (Object) lWm.a);
}
}
public final String toString() {
String str = this.c;
String str2 = this.i;
double d = this.e;
double d2 = this.j;
HBt hBt = this.b;
HBt hBt2 = this.g;
LWm lWm = this.d;
String str3 = this.a;
StringBuilder sb = new StringBuilder("PrepaidTravelConversionVerificationEntity(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(hBt);
sb.append(", toCurrency=");
sb.append(hBt2);
sb.append(", conversionRate=");
sb.append(lWm);
sb.append(", isRateChangedFlag=");
sb.append(str3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = this.c.hashCode();
int hashCode2 = this.i.hashCode();
int hashCode3 = Double.hashCode(this.e);
int hashCode4 = Double.hashCode(this.j);
int hashCode5 = this.b.hashCode();
int hashCode6 = this.g.hashCode();
int hashCode7 = this.d.hashCode();
String str = this.a;
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 yFy)) {
return false;
}
yFy yfy = (yFy) obj;
return C14957gcv.b((Object) this.c, (Object) yfy.c) && C14957gcv.b((Object) this.i, (Object) yfy.i) && Double.compare(this.e, yfy.e) == 0 && Double.compare(this.j, yfy.j) == 0 && C14957gcv.b(this.b, yfy.b) && C14957gcv.b(this.g, yfy.g) && C14957gcv.b(this.d, yfy.d) && C14957gcv.b((Object) this.a, (Object) yfy.a);
}
}