package o; import com.google.gson.annotations.SerializedName; import com.scb.phone.domain.entity.mwpartner.EntityMappingException; /* loaded from: classes3.dex */ public final class BXG extends C16562pOe { @SerializedName("information") private final iIM a; @SerializedName("consentHtml") private final String b; @SerializedName("callbackUrl") private final String c; @SerializedName("consentDescription") private final String d; @SerializedName("consentVersion") private final String e; public final Sxo e() { String str = this.c; if (str != null) { iIM iim = this.a; return new Sxo(str, iim != null ? new C8447dLf(iim.d, iim.c, iim.a, iim.b, iim.h, iim.i, iim.g, iim.f, iim.e) : null, this.d, this.b, this.e); } throw new EntityMappingException("callbackUrl can not be null"); } public final Sxo e(yzb yzbVar) { C14957gcv.e(yzbVar, ""); Sxo e = e(); e.a(new iJI(yzbVar.e, yzbVar.g)); return e; } public final String toString() { String str = this.c; iIM iim = this.a; String str2 = this.d; String str3 = this.b; String str4 = this.e; StringBuilder sb = new StringBuilder("PartnerConsentEntity(callbackUrl="); sb.append(str); sb.append(", information="); sb.append(iim); sb.append(", consentDescription="); sb.append(str2); sb.append(", consentHtml="); sb.append(str3); sb.append(", consentVersion="); sb.append(str4); sb.append(")"); return sb.toString(); } public final int hashCode() { String str = this.c; int hashCode = str == null ? 0 : str.hashCode(); iIM iim = this.a; int hashCode2 = iim == null ? 0 : iim.hashCode(); String str2 = this.d; int hashCode3 = str2 == null ? 0 : str2.hashCode(); String str3 = this.b; int hashCode4 = str3 == null ? 0 : str3.hashCode(); String str4 = this.e; return (((((((hashCode * 31) + hashCode2) * 31) + hashCode3) * 31) + hashCode4) * 31) + (str4 != null ? str4.hashCode() : 0); } public final boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof BXG)) { return false; } BXG bxg = (BXG) obj; return C14957gcv.b((Object) this.c, (Object) bxg.c) && C14957gcv.b(this.a, bxg.a) && C14957gcv.b((Object) this.d, (Object) bxg.d) && C14957gcv.b((Object) this.b, (Object) bxg.b) && C14957gcv.b((Object) this.e, (Object) bxg.e); } }