package o; import com.google.gson.annotations.SerializedName; import java.util.Comparator; import java.util.List; import org.bouncycastle.i18n.ErrorBundle; /* loaded from: classes3.dex */ public final class zGx { @SerializedName("loanAmount") public final String a; @SerializedName(ErrorBundle.DETAIL_ENTRY) public final List b; @SerializedName("duration") public final String e; /* loaded from: classes3.dex */ public static final class Sts implements Comparator { /* JADX WARN: Multi-variable type inference failed */ @Override // java.util.Comparator public final int compare(T t, T t2) { Integer valueOf = Integer.valueOf(((Ylx) t).a); Integer valueOf2 = Integer.valueOf(((Ylx) t2).a); if (valueOf == valueOf2) { return 0; } if (valueOf == null) { return -1; } if (valueOf2 == null) { return 1; } return valueOf.compareTo(valueOf2); } } public final String toString() { String str = this.a; String str2 = this.e; List list = this.b; StringBuilder sb = new StringBuilder("CommercialCalculationEntity(loanAmount="); sb.append(str); sb.append(", duration="); sb.append(str2); sb.append(", details="); sb.append(list); sb.append(")"); return sb.toString(); } public final int hashCode() { int hashCode = this.a.hashCode(); int hashCode2 = this.e.hashCode(); List list = this.b; return (((hashCode * 31) + hashCode2) * 31) + (list == null ? 0 : list.hashCode()); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof zGx)) { return false; } zGx zgx = (zGx) obj; return C14957gcv.b((Object) this.a, (Object) zgx.a) && C14957gcv.b((Object) this.e, (Object) zgx.e) && C14957gcv.b(this.b, zgx.b); } }