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

208 lines
7.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes3.dex */
public final class UB implements Parcelable {
public static final Parcelable.Creator<UB> CREATOR = new Sts();
public final String a;
public final List<UA> b;
public final List<UA> d;
public final List<IeS> e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public UB(String str, List<UA> list, List<UA> list2, List<IeS> list3) {
C14957gcv.e(str, "");
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
C14957gcv.e(list3, "");
this.a = str;
this.d = list;
this.b = list2;
this.e = list3;
}
/* loaded from: classes3.dex */
public static final class IeS implements Parcelable {
public static final Parcelable.Creator<IeS> CREATOR = new C0094IeS();
private final String a;
private final String b;
public final double c;
private final String d;
public final String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public IeS(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.d = str2;
this.a = str3;
this.c = d;
this.e = str4;
}
/* renamed from: o.UB$IeS$IeS, reason: collision with other inner class name */
/* loaded from: classes3.dex */
public static final class C0094IeS implements Parcelable.Creator<IeS> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ IeS createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new IeS(parcel.readString(), parcel.readString(), parcel.readString(), parcel.readDouble(), parcel.readString());
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ IeS[] newArray(int i) {
return new IeS[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.b);
parcel.writeString(this.d);
parcel.writeString(this.a);
parcel.writeDouble(this.c);
parcel.writeString(this.e);
}
public final String toString() {
String str = this.b;
String str2 = this.d;
String str3 = this.a;
double d = this.c;
String str4 = this.e;
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.d.hashCode()) * 31) + this.a.hashCode()) * 31) + Double.hashCode(this.c)) * 31) + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof IeS)) {
return false;
}
IeS ieS = (IeS) obj;
return C14957gcv.b((Object) this.b, (Object) ieS.b) && C14957gcv.b((Object) this.d, (Object) ieS.d) && C14957gcv.b((Object) this.a, (Object) ieS.a) && Double.compare(this.c, ieS.c) == 0 && C14957gcv.b((Object) this.e, (Object) ieS.e);
}
}
/* loaded from: classes3.dex */
public static final class Sts implements Parcelable.Creator<UB> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ UB createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
String readString = parcel.readString();
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i != readInt; i++) {
arrayList.add(UA.CREATOR.createFromParcel(parcel));
}
ArrayList arrayList2 = arrayList;
int readInt2 = parcel.readInt();
ArrayList arrayList3 = new ArrayList(readInt2);
for (int i2 = 0; i2 != readInt2; i2++) {
arrayList3.add(UA.CREATOR.createFromParcel(parcel));
}
ArrayList arrayList4 = arrayList3;
int readInt3 = parcel.readInt();
ArrayList arrayList5 = new ArrayList(readInt3);
for (int i3 = 0; i3 != readInt3; i3++) {
arrayList5.add(IeS.CREATOR.createFromParcel(parcel));
}
return new UB(readString, arrayList2, arrayList4, arrayList5);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ UB[] newArray(int i) {
return new UB[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeString(this.a);
List<UA> list = this.d;
parcel.writeInt(list.size());
Iterator<UA> it = list.iterator();
while (it.hasNext()) {
it.next().writeToParcel(parcel, i);
}
List<UA> list2 = this.b;
parcel.writeInt(list2.size());
Iterator<UA> it2 = list2.iterator();
while (it2.hasNext()) {
it2.next().writeToParcel(parcel, i);
}
List<IeS> list3 = this.e;
parcel.writeInt(list3.size());
Iterator<IeS> it3 = list3.iterator();
while (it3.hasNext()) {
it3.next().writeToParcel(parcel, i);
}
}
public final String toString() {
String str = this.a;
List<UA> list = this.d;
List<UA> list2 = this.b;
List<IeS> list3 = this.e;
StringBuilder sb = new StringBuilder("PrepaidTravelConversionLandingDisplay(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.a.hashCode() * 31) + this.d.hashCode()) * 31) + this.b.hashCode()) * 31) + this.e.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof UB)) {
return false;
}
UB ub = (UB) obj;
return C14957gcv.b((Object) this.a, (Object) ub.a) && C14957gcv.b(this.d, ub.d) && C14957gcv.b(this.b, ub.b) && C14957gcv.b(this.e, ub.e);
}
}