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

128 lines
4.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
/* loaded from: classes3.dex */
public final class gEk extends ZTC {
@InterfaceC13391fZD
public gEk() {
}
private static cUQ d(OqA oqA) {
cUQ cuq = new cUQ((char) 0);
cuq.e = oqA != null ? oqA.e : null;
cuq.a = oqA != null ? oqA.c : null;
return cuq;
}
/* loaded from: classes3.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
public static C0767ObZ e(FQA fqa) {
return new C0767ObZ(d(fqa != null ? fqa.c : null), a(fqa != null ? fqa.a : null));
}
public static IHF a(JXY jxy) {
String str = jxy != null ? jxy.a : null;
if (str == null) {
str = "";
}
String str2 = jxy != null ? jxy.e : null;
if (str2 == null) {
str2 = "";
}
String str3 = jxy != null ? jxy.b : null;
return new IHF(str, str2, str3 != null ? str3 : "");
}
public static C8640dRc c(xzW xzw) {
C14957gcv.e(xzw, "");
AiG aiG = xzw.b;
String str = aiG != null ? aiG.i : null;
String str2 = str == null ? "" : str;
String str3 = aiG != null ? aiG.c : null;
String str4 = str3 == null ? "" : str3;
String str5 = aiG != null ? aiG.j : null;
String str6 = str5 == null ? "" : str5;
String str7 = aiG != null ? aiG.a : null;
String str8 = aiG != null ? aiG.h : null;
String str9 = aiG != null ? aiG.b : null;
String str10 = str9 == null ? "" : str9;
String str11 = aiG != null ? aiG.f : null;
String str12 = str11 == null ? "" : str11;
String str13 = aiG != null ? aiG.e : null;
String str14 = str13 == null ? "" : str13;
String str15 = aiG != null ? aiG.g : null;
MuM muM = new MuM(str2, str4, str6, str7, str8, str10, str12, str14, str15 == null ? "" : str15, aiG != null ? aiG.d : null);
C14851gaI c14851gaI = xzw.c;
if (c14851gaI == null) {
c14851gaI = C14851gaI.c;
}
List<AHv> list = c14851gaI;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
for (AHv aHv : list) {
String str16 = aHv.d;
if (str16 == null) {
str16 = "";
}
Boolean bool = aHv.a;
boolean z = false;
boolean booleanValue = bool != null ? bool.booleanValue() : false;
Boolean bool2 = aHv.b;
if (bool2 != null) {
z = bool2.booleanValue();
}
arrayList.add(new C17526xWn(str16, booleanValue, z));
}
return new C8640dRc(muM, arrayList);
}
public static C1215Ydv e(KEl kEl) {
C14957gcv.e(kEl, "");
String str = kEl.p;
String str2 = kEl.t;
String str3 = kEl.b;
String str4 = kEl.f8234o;
String str5 = kEl.c;
String str6 = kEl.s;
List<String> list = kEl.m;
Boolean bool = kEl.d;
if (bool == null) {
throw new EntityMappingException("Some mandatory is missing.");
}
boolean booleanValue = bool.booleanValue();
Boolean bool2 = kEl.q;
if (bool2 != null) {
boolean booleanValue2 = bool2.booleanValue();
List<String> list2 = kEl.i;
List<String> list3 = kEl.r;
String str7 = kEl.f;
String str8 = kEl.g;
String str9 = kEl.h;
String str10 = kEl.k;
String str11 = kEl.e;
Boolean bool3 = kEl.a;
if (bool3 != null) {
return new C1215Ydv(str, str2, str3, str4, str5, str6, list, booleanValue, booleanValue2, list2, list3, str7, str8, str9, str10, str11, bool3.booleanValue(), d(kEl.n), kEl.l, a(kEl.j));
}
throw new EntityMappingException("Some mandatory is missing.");
}
throw new EntityMappingException("Some mandatory is missing.");
}
static {
new IeS((byte) 0);
}
}