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

232 lines
9.4 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import com.scb.phone.data.network.service.crossborder.CrossBorderService;
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class NVa implements PpT {
final lPV b;
final jXH c;
final C16531pAw d;
private final CrossBorderService e;
@InterfaceC13391fZD
public NVa(CrossBorderService crossBorderService, C16531pAw c16531pAw, jXH jxh, lPV lpv) {
C14957gcv.e(crossBorderService, "");
C14957gcv.e(c16531pAw, "");
C14957gcv.e(jxh, "");
C14957gcv.e(lpv, "");
this.e = crossBorderService;
this.d = c16531pAw;
this.c = jxh;
this.b = lpv;
}
/* loaded from: classes3.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<NFj>, C11830emj> {
private NVa a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C11830emj invoke(SingleDataEntity<NFj> singleDataEntity) {
C16531pAw c16531pAw = this.a.d;
NFj data = singleDataEntity.getData();
C14957gcv.c(data, "");
NFj nFj = data;
C14957gcv.e(nFj, "");
String str = nFj.k;
if (str == null) {
throw new EntityMappingException("data must not be null or empty");
}
String str2 = nFj.l;
if (str2 == null) {
throw new EntityMappingException("data must not be null or empty");
}
String str3 = nFj.f8282o;
if (str3 == null) {
throw new EntityMappingException("data must not be null or empty");
}
String str4 = nFj.c;
if (str4 == null) {
throw new EntityMappingException("data must not be null or empty");
}
String str5 = nFj.a;
if (str5 == null) {
throw new EntityMappingException("data must not be null or empty");
}
Double d = nFj.f;
if (d != null) {
double doubleValue = d.doubleValue();
Double d2 = nFj.t;
if (d2 != null) {
double doubleValue2 = d2.doubleValue();
Double d3 = nFj.i;
if (d3 != null) {
double doubleValue3 = d3.doubleValue();
String str6 = nFj.r;
if (str6 == null) {
throw new EntityMappingException("data must not be null or empty");
}
OffsetDateTime offsetDateTime = (OffsetDateTime) ZTC.e(new Object[]{str6, null}, 267499366, -267499366, (int) System.currentTimeMillis());
String str7 = nFj.n;
if (str7 == null) {
throw new EntityMappingException("data must not be null or empty");
}
String str8 = nFj.b;
String str9 = nFj.m;
String str10 = nFj.h;
if (str10 == null) {
throw new EntityMappingException("data must not be null or empty");
}
Boolean bool = nFj.e;
if (bool != null) {
boolean booleanValue = bool.booleanValue();
Double d4 = nFj.p;
if (d4 != null) {
double doubleValue4 = d4.doubleValue();
Double d5 = nFj.g;
if (d5 != null) {
double doubleValue5 = d5.doubleValue();
String str11 = nFj.j;
if (str11 == null) {
throw new EntityMappingException("data must not be null or empty");
}
String str12 = nFj.d;
if (str12 == null) {
throw new EntityMappingException("data must not be null or empty");
}
String str13 = nFj.q;
if (str13 != null) {
return new C11830emj(str, str2, str3, str4, str5, doubleValue, doubleValue2, doubleValue3, offsetDateTime, str7, str8, str9, str10, booleanValue, doubleValue4, doubleValue5, str11, str12, str13);
}
throw new EntityMappingException("data must not be null or empty");
}
throw new EntityMappingException("data must not be null or empty");
}
throw new EntityMappingException("data must not be null or empty");
}
throw new EntityMappingException("data must not be null or empty");
}
throw new EntityMappingException("data must not be null or empty");
}
throw new EntityMappingException("data must not be null or empty");
}
throw new EntityMappingException("data must not be null or empty");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(NVa nVa) {
super(1);
this.a = nVa;
}
}
@Override // o.PpT
public final AbstractC13175fSw<C11830emj> b(uyA uya) {
C14957gcv.e(uya, "");
AbstractC13175fSw<SingleDataEntity<NFj>> qrCrossBorderLanding = this.e.qrCrossBorderLanding(uya);
final HBt hBt = new HBt(this);
C13372fYk c13372fYk = new C13372fYk(qrCrossBorderLanding, new fSS(hBt) { // from class: o.lwB
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.b;
C14957gcv.e(interfaceC14894gbR, "");
return (C11830emj) interfaceC14894gbR.invoke(obj);
}
{
this.b = hBt;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes3.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<KQF>, ULs> {
private NVa a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ ULs invoke(SingleDataEntity<KQF> singleDataEntity) {
jXH jxh = this.a.c;
KQF data = singleDataEntity.getData();
C14957gcv.c(data, "");
return jXH.d(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(NVa nVa) {
super(1);
this.a = nVa;
}
}
@Override // o.PpT
public final AbstractC13175fSw<ULs> c(XAa xAa) {
C14957gcv.e(xAa, "");
AbstractC13175fSw<SingleDataEntity<KQF>> qrCrossBorderVerification = this.e.qrCrossBorderVerification(xAa);
final IeS ieS = new IeS(this);
C13372fYk c13372fYk = new C13372fYk(qrCrossBorderVerification, new fSS(ieS) { // from class: o.cvf
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.d;
C14957gcv.e(interfaceC14894gbR, "");
return (ULs) interfaceC14894gbR.invoke(obj);
}
{
this.d = ieS;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
/* loaded from: classes3.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<SingleDataEntity<jgA>, C8914dZo> {
private NVa e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C8914dZo invoke(SingleDataEntity<jgA> singleDataEntity) {
lPV lpv = this.e.b;
jgA data = singleDataEntity.getData();
C14957gcv.c(data, "");
return lPV.d(data);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(NVa nVa) {
super(1);
this.e = nVa;
}
}
@Override // o.PpT
public final AbstractC13175fSw<C8914dZo> b(ZYr zYr) {
C14957gcv.e(zYr, "");
AbstractC13175fSw<SingleDataEntity<jgA>> qrCrossBorderConfirmation = this.e.qrCrossBorderConfirmation(zYr);
final RVV rvv = new RVV(this);
C13372fYk c13372fYk = new C13372fYk(qrCrossBorderConfirmation, new fSS(rvv) { // from class: o.Sbt
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (C8914dZo) interfaceC14894gbR.invoke(obj);
}
{
this.e = rvv;
}
});
C14957gcv.c(c13372fYk, "");
return c13372fYk;
}
}