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

69 lines
1.8 KiB
Java

package o;
import android.os.Parcel;
import android.os.Parcelable;
/* loaded from: classes3.dex */
public final class HM implements Parcelable {
public static final Parcelable.Creator<HM> CREATOR = new HBt();
public final HS a;
@Override // android.os.Parcelable
public final int describeContents() {
return 0;
}
public HM(HS hs) {
this.a = hs;
}
/* loaded from: classes3.dex */
public static final class HBt implements Parcelable.Creator<HM> {
@Override // android.os.Parcelable.Creator
public final /* synthetic */ HM createFromParcel(Parcel parcel) {
C14957gcv.e(parcel, "");
return new HM(parcel.readInt() == 0 ? null : HS.CREATOR.createFromParcel(parcel));
}
@Override // android.os.Parcelable.Creator
public final /* bridge */ /* synthetic */ HM[] newArray(int i) {
return new HM[i];
}
}
@Override // android.os.Parcelable
public final void writeToParcel(Parcel parcel, int i) {
C14957gcv.e(parcel, "");
HS hs = this.a;
if (hs == null) {
parcel.writeInt(0);
} else {
parcel.writeInt(1);
hs.writeToParcel(parcel, i);
}
}
public final String toString() {
HS hs = this.a;
StringBuilder sb = new StringBuilder("PointRedemptionDisplay(skuInfo=");
sb.append(hs);
sb.append(")");
return sb.toString();
}
public final int hashCode() {
HS hs = this.a;
if (hs == null) {
return 0;
}
return hs.hashCode();
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
return (obj instanceof HM) && C14957gcv.b(this.a, ((HM) obj).a);
}
}