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

182 lines
6.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.util.List;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class ToF {
public final Wcm a;
public final String b;
public final RVV c;
public final double d;
public final String e;
public final List<UzV> f;
public final AUj g;
public String h;
public Integer i;
public final double j;
public final OffsetDateTime n;
public ToF(String str, double d, String str2, RVV rvv, double d2, OffsetDateTime offsetDateTime, Integer num, String str3, AUj aUj, List<UzV> list, Wcm wcm) {
C14957gcv.e(str, "");
C14957gcv.e(rvv, "");
C14957gcv.e(offsetDateTime, "");
this.h = str;
this.j = d;
this.b = str2;
this.c = rvv;
this.d = d2;
this.n = offsetDateTime;
this.i = num;
this.e = str3;
this.g = aUj;
this.f = list;
this.a = wcm;
}
public /* synthetic */ ToF(String str, double d, String str2, RVV rvv, double d2, OffsetDateTime offsetDateTime, Integer num, List list, Wcm wcm, int i) {
this((i & 1) != 0 ? "GENERAL" : str, d, str2, rvv, d2, offsetDateTime, num, null, null, list, wcm);
}
/* loaded from: classes3.dex */
public static final class RVV {
public final Double a;
public final String b;
public final Double c;
public final Double d;
public final String e;
public final String i;
public /* synthetic */ RVV(Double d, String str, String str2, String str3, int i) {
this((i & 1) != 0 ? null : d, (i & 2) != 0 ? null : str, str2, str3, null, null);
}
public RVV(Double d, String str, String str2, String str3, Double d2, Double d3) {
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
this.c = d;
this.b = str;
this.i = str2;
this.e = str3;
this.d = d2;
this.a = d3;
}
public final String toString() {
Double d = this.c;
String str = this.b;
String str2 = this.i;
String str3 = this.e;
Double d2 = this.d;
Double d3 = this.a;
StringBuilder sb = new StringBuilder("Installment(amount=");
sb.append(d);
sb.append(", frequency=");
sb.append(str);
sb.append(", unit=");
sb.append(str2);
sb.append(", perUnit=");
sb.append(str3);
sb.append(", minAmount=");
sb.append(d2);
sb.append(", maxAmount=");
sb.append(d3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
Double d = this.c;
int hashCode = d == null ? 0 : d.hashCode();
String str = this.b;
int hashCode2 = str == null ? 0 : str.hashCode();
int hashCode3 = this.i.hashCode();
int hashCode4 = this.e.hashCode();
Double d2 = this.d;
int hashCode5 = d2 == null ? 0 : d2.hashCode();
Double d3 = this.a;
return (((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + (d3 != null ? d3.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof RVV)) {
return false;
}
RVV rvv = (RVV) obj;
return C14957gcv.b(this.c, rvv.c) && C14957gcv.b((Object) this.b, (Object) rvv.b) && C14957gcv.b((Object) this.i, (Object) rvv.i) && C14957gcv.b((Object) this.e, (Object) rvv.e) && C14957gcv.b(this.d, rvv.d) && C14957gcv.b(this.a, rvv.a);
}
}
public final String toString() {
String str = this.h;
double d = this.j;
String str2 = this.b;
RVV rvv = this.c;
double d2 = this.d;
OffsetDateTime offsetDateTime = this.n;
Integer num = this.i;
String str3 = this.e;
AUj aUj = this.g;
List<UzV> list = this.f;
Wcm wcm = this.a;
StringBuilder sb = new StringBuilder("HmlCalculateLoan(productType=");
sb.append(str);
sb.append(", principal=");
sb.append(d);
sb.append(", duration=");
sb.append(str2);
sb.append(", installment=");
sb.append(rvv);
sb.append(", annualInterest=");
sb.append(d2);
sb.append(", repaymentStartDate=");
sb.append(offsetDateTime);
sb.append(", repaymentDate=");
sb.append(num);
sb.append(", gracePeriod=");
sb.append(str3);
sb.append(", productCatalogue=");
sb.append(aUj);
sb.append(", promotions=");
sb.append(list);
sb.append(", dutyStamp=");
sb.append(wcm);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
int hashCode = this.h.hashCode();
int hashCode2 = Double.hashCode(this.j);
String str = this.b;
int hashCode3 = str == null ? 0 : str.hashCode();
int hashCode4 = this.c.hashCode();
int hashCode5 = Double.hashCode(this.d);
int hashCode6 = this.n.hashCode();
Integer num = this.i;
int hashCode7 = num == null ? 0 : num.hashCode();
String str2 = this.e;
int hashCode8 = str2 == null ? 0 : str2.hashCode();
AUj aUj = this.g;
int hashCode9 = aUj == null ? 0 : aUj.hashCode();
List<UzV> list = this.f;
int hashCode10 = list == null ? 0 : list.hashCode();
Wcm wcm = this.a;
return (((((((((((((((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + hashCode5) * 31) + hashCode6) * 31) + hashCode7) * 31) + hashCode8) * 31) + hashCode9) * 31) + hashCode10) * 31) + (wcm != null ? wcm.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof ToF)) {
return false;
}
ToF toF = (ToF) obj;
return C14957gcv.b((Object) this.h, (Object) toF.h) && Double.compare(this.j, toF.j) == 0 && C14957gcv.b((Object) this.b, (Object) toF.b) && C14957gcv.b(this.c, toF.c) && Double.compare(this.d, toF.d) == 0 && C14957gcv.b(this.n, toF.n) && C14957gcv.b(this.i, toF.i) && C14957gcv.b((Object) this.e, (Object) toF.e) && C14957gcv.b(this.g, toF.g) && C14957gcv.b(this.f, toF.f) && C14957gcv.b(this.a, toF.a);
}
}