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

113 lines
3.4 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
import java.util.List;
/* loaded from: classes3.dex */
public final class WZ implements Parcelable {
public static final HBt CREATOR = new HBt(0);
public final String b;
public final List<WY> c;
public final boolean d;
public final String e;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public /* synthetic */ WZ(String str, List list) {
this(false, str, list, null);
}
public WZ(boolean z, String str, List<WY> list, String str2) {
this.d = z;
this.b = str;
this.c = list;
this.e = str2;
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public WZ(Parcel parcel) {
this(parcel.readByte() != 0, parcel.readString(), parcel.createTypedArrayList(WY.CREATOR), parcel.readString());
C14957gcv.e(parcel, "");
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
parcel.writeByte(this.d ? (byte) 1 : (byte) 0);
parcel.writeString(this.b);
parcel.writeTypedList(this.c);
parcel.writeString(this.e);
}
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<WZ> {
private HBt() {
}
@Override // android.os.Parcelable.Creator
public final /* synthetic */ WZ createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new WZ(parcel);
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ WZ[] newArray(int i) {
return new WZ[i];
}
public /* synthetic */ HBt(byte b) {
this();
}
}
public final String toString() {
boolean z = this.d;
String str = this.b;
List<WY> list = this.c;
String str2 = this.e;
StringBuilder sb = new StringBuilder("TierPricingSimplePromotionDisplay(showPromo=");
sb.append(z);
sb.append(", title=");
sb.append(str);
sb.append(", installments=");
sb.append(list);
sb.append(", remark=");
sb.append(str2);
sb.append(")");
return sb.toString();
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v1, types: [int] */
/* JADX WARN: Type inference failed for: r0v8 */
/* JADX WARN: Type inference failed for: r0v9 */
public final int hashCode() {
boolean z = this.d;
?? r0 = z;
if (z) {
r0 = 1;
}
String str = this.b;
int hashCode = str == null ? 0 : str.hashCode();
List<WY> list = this.c;
int hashCode2 = list == null ? 0 : list.hashCode();
String str2 = this.e;
return (((((r0 * 31) + hashCode) * 31) + hashCode2) * 31) + (str2 != null ? str2.hashCode() : 0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof WZ)) {
return false;
}
WZ wz = (WZ) obj;
return this.d == wz.d && C14957gcv.b((Object) this.b, (Object) wz.b) && C14957gcv.b(this.c, wz.c) && C14957gcv.b((Object) this.e, (Object) wz.e);
}
}