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

57 lines
1.4 KiB
Java

package o;
import com.google.gson.annotations.SerializedName;
/* loaded from: classes3.dex */
public final class YOF {
@SerializedName("totalInterest")
public Double a;
@SerializedName("totalPayment")
public Double b;
@SerializedName("monthlyPayment")
public Double c;
public YOF(Double d, Double d2, Double d3) {
this.b = d;
this.a = d2;
this.c = d3;
}
public final String toString() {
Double d = this.b;
Double d2 = this.a;
Double d3 = this.c;
StringBuilder sb = new StringBuilder("InstPaymentInfoResponse(totalPayment=");
sb.append(d);
sb.append(", totalInterest=");
sb.append(d2);
sb.append(", monthlyPayment=");
sb.append(d3);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
Double d = this.b;
int hashCode = d == null ? 0 : d.hashCode();
Double d2 = this.a;
int hashCode2 = d2 == null ? 0 : d2.hashCode();
Double d3 = this.c;
return (((hashCode * 31) + hashCode2) * 31) + (d3 != null ? d3.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof YOF)) {
return false;
}
YOF yof = (YOF) obj;
return C14957gcv.b(this.b, yof.b) && C14957gcv.b(this.a, yof.a) && C14957gcv.b(this.c, yof.c);
}
}