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

130 lines
3.8 KiB
Java

package o;
import com.google.gson.annotations.SerializedName;
import java.util.List;
/* loaded from: classes3.dex */
public final class gDd extends Pag {
@SerializedName("toWallet")
public final List<wZk> a;
@SerializedName("fromWallet")
public final List<wZk> b;
@SerializedName("fxRate")
public final List<RVV> c;
@SerializedName("cardRefNo")
public final String d;
public gDd(String str, List<wZk> list, List<wZk> list2, List<RVV> list3) {
C14957gcv.e(str, "");
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
C14957gcv.e(list3, "");
this.d = str;
this.b = list;
this.a = list2;
this.c = list3;
}
/* loaded from: classes3.dex */
public static final class RVV {
@SerializedName("toCurrency")
public final String a;
@SerializedName("conversionType")
public final String b;
@SerializedName("description")
public final String c;
@SerializedName("rate")
public final double d;
@SerializedName("fromCurrency")
public final String e;
public RVV(String str, String str2, String str3, double d, String str4) {
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
this.b = str;
this.e = str2;
this.a = str3;
this.d = d;
this.c = str4;
}
public final String toString() {
String str = this.b;
String str2 = this.e;
String str3 = this.a;
double d = this.d;
String str4 = this.c;
StringBuilder sb = new StringBuilder("FxRate(conversionType=");
sb.append(str);
sb.append(", fromCurrency=");
sb.append(str2);
sb.append(", toCurrency=");
sb.append(str3);
sb.append(", rate=");
sb.append(d);
sb.append(", description=");
sb.append(str4);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((((((this.b.hashCode() * 31) + this.e.hashCode()) * 31) + this.a.hashCode()) * 31) + Double.hashCode(this.d)) * 31) + this.c.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.e, (Object) rvv.e) && C14957gcv.b((Object) this.a, (Object) rvv.a) && Double.compare(this.d, rvv.d) == 0 && C14957gcv.b((Object) this.c, (Object) rvv.c);
}
}
public final String toString() {
String str = this.d;
List<wZk> list = this.b;
List<wZk> list2 = this.a;
List<RVV> list3 = this.c;
StringBuilder sb = new StringBuilder("PrepaidTravelConversionLanding(cardRefNo=");
sb.append(str);
sb.append(", fromWallet=");
sb.append(list);
sb.append(", toWallet=");
sb.append(list2);
sb.append(", fxRate=");
sb.append(list3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
return (((((this.d.hashCode() * 31) + this.b.hashCode()) * 31) + this.a.hashCode()) * 31) + this.c.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof gDd)) {
return false;
}
gDd gdd = (gDd) obj;
return C14957gcv.b((Object) this.d, (Object) gdd.d) && C14957gcv.b(this.b, gdd.b) && C14957gcv.b(this.a, gdd.a) && C14957gcv.b(this.c, gdd.c);
}
}