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

171 lines
7.0 KiB
Java

package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.math.BigDecimal;
import java.util.List;
import o.PRA;
/* loaded from: classes3.dex */
public final class CjS implements CyA {
final Yqw c;
final C16118lQH d;
private final Ubk e;
@InterfaceC13391fZD
public CjS(Ubk ubk, C16118lQH c16118lQH, Yqw yqw) {
this.e = ubk;
this.d = c16118lQH;
this.c = yqw;
}
@Override // o.CyA
public final AbstractC13163fSk<C17643yaj> a() {
return this.e.d.getSchedules().flatMap(new fSS(this) { // from class: o.exN
private CjS b;
@Override // o.fSS
public final Object a(Object obj) {
C16118lQH c16118lQH = this.b.d;
C14366frp c14366frp = (C14366frp) ((SingleDataEntity) obj).getData();
return AbstractC13163fSk.just(new C17643yaj(c16118lQH.e(c14366frp.d), c16118lQH.e(c14366frp.b), c16118lQH.e(c14366frp.e), c16118lQH.d(c14366frp.a)));
}
{
this.b = this;
}
});
}
@Override // o.CyA
public final AbstractC13163fSk<C17643yaj> b() {
return this.e.d.getSchedulesConfig().flatMap(new fSS(this) { // from class: o.Apt
private CjS d;
@Override // o.fSS
public final Object a(Object obj) {
return AbstractC13163fSk.just(this.d.d.d(((C5192boR) obj).b));
}
{
this.d = this;
}
});
}
@Override // o.CyA
public final AbstractC13163fSk<C0814Pak> c(String str) {
return this.e.d.getScheduleList(str).flatMap(new fSS(this) { // from class: o.Efo
private CjS a;
@Override // o.fSS
public final Object a(Object obj) {
final Yqw yqw = this.a.c;
YKU yku = new YKU(((SIY) ((SingleDataEntity) obj).getData()).e);
return AbstractC13163fSk.just(new C0814Pak((List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(yqw) { // from class: o.Jxf
private Yqw e;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj2) {
JZY jzy;
String str2;
int i;
String str3;
String str4;
JZY jzy2;
String str5;
String str6;
String str7;
String str8;
qTG qtg;
Ucq ucq;
NHc nHc;
Yqw yqw2 = this.e;
Kjf kjf = (Kjf) obj2;
int i2 = kjf.h;
String str9 = kjf.i;
int i3 = kjf.j;
String str10 = kjf.g;
if (kjf.b != null) {
yzb yzbVar = kjf.b;
jzy = new JZY(yzbVar.e, yzbVar.c, yzbVar.g);
} else {
jzy = null;
}
String str11 = kjf.l;
String str12 = kjf.e;
int i4 = kjf.a;
String str13 = kjf.f;
String str14 = kjf.c;
String str15 = kjf.d;
if (kjf.n != null) {
kof kofVar = kjf.n;
String str16 = kofVar.c;
String str17 = kofVar.a;
str8 = str15;
String str18 = kofVar.b;
str7 = str14;
String str19 = kofVar.d;
str6 = str13;
BigDecimal bigDecimal = kofVar.e;
str5 = str12;
String str20 = kofVar.v;
str4 = str11;
if (kofVar.q != null) {
C0362FBw c0362FBw = kofVar.q;
jzy2 = jzy;
str3 = str10;
i = i3;
str2 = str9;
nHc = new NHc(c0362FBw.e, c0362FBw.a, c0362FBw.b, c0362FBw.c);
} else {
str2 = str9;
i = i3;
str3 = str10;
jzy2 = jzy;
nHc = null;
}
qtg = new qTG(str16, str17, str18, str19, bigDecimal, str20, nHc, kofVar.g, kofVar.h, kofVar.j, kofVar.m, kofVar.p, kofVar.i, kofVar.l, kofVar.f9193o, kofVar.r, kofVar.s, kofVar.f, yqw2.d(kofVar.k), yqw2.d(kofVar.t), yqw2.d(kofVar.n));
} else {
str2 = str9;
i = i3;
str3 = str10;
str4 = str11;
jzy2 = jzy;
str5 = str12;
str6 = str13;
str7 = str14;
str8 = str15;
qtg = null;
}
if (kjf.m != null) {
C6687caC c6687caC = kjf.m;
ucq = new Ucq(c6687caC.V, c6687caC.Q, c6687caC.q, c6687caC.x, c6687caC.a, c6687caC.c, c6687caC.e, c6687caC.i, c6687caC.d, c6687caC.b, c6687caC.D, c6687caC.U, c6687caC.v, c6687caC.R, c6687caC.P, c6687caC.W, c6687caC.u, c6687caC.G, c6687caC.H, c6687caC.L, c6687caC.N, c6687caC.J, c6687caC.t, c6687caC.M, c6687caC.C, c6687caC.A, c6687caC.E, c6687caC.I, c6687caC.F, c6687caC.g, c6687caC.h, c6687caC.f, c6687caC.j, c6687caC.k, c6687caC.n, c6687caC.f8630o, c6687caC.m, c6687caC.l, c6687caC.p, c6687caC.r, c6687caC.K, paz.NORMALL_BILLER, "", c6687caC.w, c6687caC.y, c6687caC.s, c6687caC.O, yqw2.e(c6687caC.z), yqw2.e(c6687caC.B), yqw2.e(c6687caC.S));
} else {
ucq = null;
}
return new NZv(i2, str2, i, str3, jzy2, str4, str5, String.valueOf(i4), str6, str7, str8, qtg, ucq, null, null);
}
{
this.e = yqw;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()))));
}
{
this.a = this;
}
});
}
@Override // o.CyA
public final AbstractC13163fSk<Boolean> a(C10798eP c10798eP) {
return this.e.d.deleteScheduleTransaction(c10798eP).flatMap(new fSS() { // from class: o.RVj
@Override // o.fSS
public final Object a(Object obj) {
return AbstractC13163fSk.just(Boolean.TRUE);
}
});
}
}