88 lines
2.6 KiB
Java
88 lines
2.6 KiB
Java
package o;
|
|
|
|
import android.os.Parcel;
|
|
import android.os.Parcelable;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class HS implements Parcelable {
|
|
public static final Parcelable.Creator<HS> CREATOR = new RVV();
|
|
public final Integer a;
|
|
public final String b;
|
|
public final String e;
|
|
|
|
@Override // android.os.Parcelable
|
|
public final int describeContents() {
|
|
return 0;
|
|
}
|
|
|
|
public HS(String str, Integer num, String str2) {
|
|
this.e = str;
|
|
this.a = num;
|
|
this.b = str2;
|
|
}
|
|
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV implements Parcelable.Creator<HS> {
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* synthetic */ HS createFromParcel(Parcel parcel) {
|
|
C14957gcv.e(parcel, "");
|
|
return new HS(parcel.readString(), parcel.readInt() == 0 ? null : Integer.valueOf(parcel.readInt()), parcel.readString());
|
|
}
|
|
|
|
@Override // android.os.Parcelable.Creator
|
|
public final /* bridge */ /* synthetic */ HS[] newArray(int i) {
|
|
return new HS[i];
|
|
}
|
|
}
|
|
|
|
@Override // android.os.Parcelable
|
|
public final void writeToParcel(Parcel parcel, int i) {
|
|
int intValue;
|
|
C14957gcv.e(parcel, "");
|
|
parcel.writeString(this.e);
|
|
Integer num = this.a;
|
|
if (num == null) {
|
|
intValue = 0;
|
|
} else {
|
|
parcel.writeInt(1);
|
|
intValue = num.intValue();
|
|
}
|
|
parcel.writeInt(intValue);
|
|
parcel.writeString(this.b);
|
|
}
|
|
|
|
public final String toString() {
|
|
String str = this.e;
|
|
Integer num = this.a;
|
|
String str2 = this.b;
|
|
StringBuilder sb = new StringBuilder("SkuInfoDisplay(skuId=");
|
|
sb.append(str);
|
|
sb.append(", quantity=");
|
|
sb.append(num);
|
|
sb.append(", transactionId=");
|
|
sb.append(str2);
|
|
sb.append(")");
|
|
return sb.toString();
|
|
}
|
|
|
|
public final int hashCode() {
|
|
String str = this.e;
|
|
int hashCode = str == null ? 0 : str.hashCode();
|
|
Integer num = this.a;
|
|
int hashCode2 = num == null ? 0 : num.hashCode();
|
|
String str2 = this.b;
|
|
return (((hashCode * 31) + hashCode2) * 31) + (str2 != null ? str2.hashCode() : 0);
|
|
}
|
|
|
|
public final boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof HS)) {
|
|
return false;
|
|
}
|
|
HS hs = (HS) obj;
|
|
return C14957gcv.b((Object) this.e, (Object) hs.e) && C14957gcv.b(this.a, hs.a) && C14957gcv.b((Object) this.b, (Object) hs.b);
|
|
}
|
|
}
|