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

130 lines
4.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.util.Objects;
/* loaded from: classes3.dex */
public final class VcV implements InterfaceC0203Bet {
private final rLB a;
private final WlU b;
final C1213Yci c;
private final Tbg d;
private final JwP e;
private final tkP g;
private final String h;
private final QMd i;
private final OPE j;
@InterfaceC13391fZD
public VcV(rLB rlb, WlU wlU, C1213Yci c1213Yci, OPE ope, QMd qMd, JwP jwP, Tbg tbg, tkP tkp, String str) {
this.a = rlb;
this.b = wlU;
this.c = c1213Yci;
this.j = ope;
this.i = qMd;
this.e = jwP;
this.d = tbg;
this.g = tkp;
this.h = str;
}
@Override // o.InterfaceC0203Bet
public final AbstractC13163fSk<C0515Ijp> e() {
AbstractC13163fSk<SingleDataEntity<QoX>> fastPayProfiles = this.a.d.getFastPayProfiles();
WlU wlU = this.b;
Objects.requireNonNull(wlU);
return fastPayProfiles.map(new MuZ(wlU));
}
@Override // o.InterfaceC0203Bet
public final AbstractC13163fSk<C0515Ijp> c(C8059d c8059d) {
AbstractC13163fSk<SingleDataEntity<QoX>> updateFastPayProfile = this.a.d.updateFastPayProfile(c8059d);
WlU wlU = this.b;
Objects.requireNonNull(wlU);
return updateFastPayProfile.map(new MuZ(wlU));
}
@Override // o.InterfaceC0203Bet
public final AbstractC13163fSk<C0515Ijp> e(C8059d c8059d, String str, String str2) {
AbstractC13163fSk<SingleDataEntity<QoX>> updateFastPayProfileWithOtp = this.a.d.updateFastPayProfileWithOtp(c8059d, str, str2);
WlU wlU = this.b;
Objects.requireNonNull(wlU);
return updateFastPayProfileWithOtp.map(new MuZ(wlU));
}
@Override // o.InterfaceC0203Bet
public final AbstractC13163fSk<kkD> b(C10635eK c10635eK) {
AbstractC13163fSk<R> map = this.a.d.confirmFastPayTransfer(c10635eK).map(new fSS() { // from class: o.Aks
@Override // o.fSS
public final Object a(Object obj) {
return (C16902sHd) ((SingleDataEntity) obj).getData();
}
});
final QMd qMd = this.i;
Objects.requireNonNull(qMd);
return map.map(new fSS(qMd) { // from class: o.JDZ
private QMd d;
@Override // o.fSS
public final Object a(Object obj) {
return QMd.b((C16902sHd) obj);
}
{
this.d = qMd;
}
});
}
@Override // o.InterfaceC0203Bet
public final SBO a() {
return this.d.a;
}
@Override // o.InterfaceC0203Bet
public final AbstractC13163fSk<DpR> a(C10635eK c10635eK) {
rLB rlb = this.a;
DiG.e("3053");
AbstractC13163fSk<SingleDataEntity<peJ>> confirmFastPayBillPayment = rlb.d.confirmFastPayBillPayment(c10635eK);
JwP jwP = this.e;
Objects.requireNonNull(jwP);
return confirmFastPayBillPayment.map(new wwT(jwP)).doFinally(new Cbf());
}
@Override // o.InterfaceC0203Bet
public final AbstractC13163fSk<eWY> c(SBO sbo) {
sbo.E = this.h;
this.d.a = sbo;
AbstractC13163fSk<R> flatMap = this.a.d.verifyFastPayBillPayment(sbo).flatMap(new fSS(this) { // from class: o.vOM
private VcV e;
@Override // o.fSS
public final Object a(Object obj) {
C1213Yci c1213Yci = this.e.c;
return AbstractC13163fSk.just((eWY) C1213Yci.a(new Object[]{(C0733Ngv) ((SingleDataEntity) obj).getData()}, 248356973, -248356973, (int) System.currentTimeMillis()));
}
{
this.e = this;
}
});
Tbg tbg = this.d;
Objects.requireNonNull(tbg);
return flatMap.doOnNext(new C16535pBV(tbg));
}
@Override // o.InterfaceC0203Bet
public final AbstractC13163fSk<C17024tMc> d(C14589fw c14589fw) {
this.g.g = c14589fw;
rLB rlb = this.a;
DiG.e("9003");
AbstractC13163fSk<SingleDataEntity<hAH>> verifyFastPayTransfer = rlb.d.verifyFastPayTransfer(c14589fw);
OPE ope = this.j;
Objects.requireNonNull(ope);
AbstractC13163fSk<R> map = verifyFastPayTransfer.map(new Xzq(ope));
tkP tkp = this.g;
Objects.requireNonNull(tkp);
return map.doOnNext(new Itd(tkp));
}
}