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

92 lines
2.7 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* renamed from: o.Ht, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0489Ht implements Parcelable {
public static final Parcelable.Creator<C0489Ht> CREATOR = new HBt();
private final int b;
public final boolean c;
public final int d;
public final int e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public C0489Ht(int i, int i2, int i3, boolean z) {
this.b = i;
this.d = i2;
this.e = i3;
this.c = z;
}
/* renamed from: o.Ht$HBt */
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<C0489Ht> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ C0489Ht createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new C0489Ht(parcel.readInt(), parcel.readInt(), parcel.readInt(), parcel.readInt() != 0);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ C0489Ht[] newArray(int i) {
return new C0489Ht[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeInt(this.b);
parcel.writeInt(this.d);
parcel.writeInt(this.e);
parcel.writeInt(this.c ? 1 : 0);
}
public final String toString() {
int i = this.b;
int i2 = this.d;
int i3 = this.e;
boolean z = this.c;
StringBuilder sb = new StringBuilder("QuotaLimitDisplayModel(maximumLimit=");
sb.append(i);
sb.append(", quotaLimit=");
sb.append(i2);
sb.append(", stock=");
sb.append(i3);
sb.append(", limitationFlag=");
sb.append(z);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode = Integer.hashCode(this.b);
int hashCode2 = Integer.hashCode(this.d);
int hashCode3 = Integer.hashCode(this.e);
boolean z = this.c;
int i = z;
if (z != 0) {
i = 1;
}
return (((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + i;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof C0489Ht)) {
return false;
}
C0489Ht c0489Ht = (C0489Ht) obj;
return this.b == c0489Ht.b && this.d == c0489Ht.d && this.e == c0489Ht.e && this.c == c0489Ht.c;
}
}