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

126 lines
4.0 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;
/* loaded from: classes3.dex */
public final class HO implements Parcelable {
public static final HBt CREATOR = new HBt(0);
public final double a;
public final double b;
public final int c;
public final double d;
public final String e;
public final double h;
public final double i;
public final int j;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public HO(int i, int i2, double d, double d2, double d3, double d4, double d5, String str) {
this.c = i;
this.j = i2;
this.b = d;
this.a = d2;
this.d = d3;
this.i = d4;
this.h = d5;
this.e = str;
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HO(Parcel parcel) {
this(parcel.readInt(), parcel.readInt(), parcel.readDouble(), parcel.readDouble(), parcel.readDouble(), parcel.readDouble(), parcel.readDouble(), parcel.readString());
C14957gcv.e(parcel, "");
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.c);
parcel.writeInt(this.j);
parcel.writeDouble(this.b);
parcel.writeDouble(this.a);
parcel.writeDouble(this.d);
parcel.writeDouble(this.i);
parcel.writeDouble(this.h);
parcel.writeString(this.e);
}
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<HO> {
private HBt() {
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ HO createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new HO(parcel);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ HO[] newArray(int i) {
return new HO[i];
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public final String toString() {
int i = this.c;
int i2 = this.j;
double d = this.b;
double d2 = this.a;
double d3 = this.d;
double d4 = this.i;
double d5 = this.h;
String str = this.e;
StringBuilder sb = new StringBuilder("InstallmentPlansDisplay(ippType=");
sb.append(i);
sb.append(", tenure=");
sb.append(i2);
sb.append(", cardInterestRate=");
sb.append(d);
sb.append(", cardInterestAmount=");
sb.append(d2);
sb.append(", monthlyInstallmentAmount=");
sb.append(d3);
sb.append(", yearlyCardInterestRate=");
sb.append(d4);
sb.append(", totalAmount=");
sb.append(d5);
sb.append(", productCode=");
sb.append(str);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = Integer.hashCode(this.c);
int hashCode2 = Integer.hashCode(this.j);
int hashCode3 = Double.hashCode(this.b);
int hashCode4 = Double.hashCode(this.a);
int hashCode5 = Double.hashCode(this.d);
int hashCode6 = Double.hashCode(this.i);
int hashCode7 = Double.hashCode(this.h);
String str = this.e;
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 HO)) {
return false;
}
HO ho = (HO) obj;
return this.c == ho.c && this.j == ho.j && Double.compare(this.b, ho.b) == 0 && Double.compare(this.a, ho.a) == 0 && Double.compare(this.d, ho.d) == 0 && Double.compare(this.i, ho.i) == 0 && Double.compare(this.h, ho.h) == 0 && C14957gcv.b((Object) this.e, (Object) ho.e);
}
}